Constructor


ActorSprite(actor: any)

Arguments:

actor: any




Methods


ActorSprite:_setSprite(texture: any, keep_anim: any)

Arguments:

texture: any
keep_anim: any


ActorSprite:applyTransformTo(transform: any)

Arguments:

transform: any






ActorSprite:getDirectionalPath(sprite: any)

Arguments:

sprite: any

Returns:

1: string|unknown




ActorSprite:getValueForSprite(tbl: any)

Arguments:

tbl: any

Returns:

1: unknown


ActorSprite:isDirectional(texture: any)

Arguments:

texture: any

Returns:

1: boolean
2: string


ActorSprite:isSprite(sprite: any)

Arguments:

sprite: any

Returns:

1: boolean


ActorSprite:resetSprite(ignore_actor_callback: any)

Arguments:

ignore_actor_callback: any


ActorSprite:set(name: any, callback: any, ignore_actor_callback: any)

Arguments:

name: any
callback: any
ignore_actor_callback: any


ActorSprite:setActor(actor: any)

Arguments:

actor: any


ActorSprite:setAnimation(anim: any, callback: any, ignore_actor_callback: any)

Arguments:

anim: any
callback: any
ignore_actor_callback: any

Returns:

1: boolean|nil


ActorSprite:setCustomSprite(texture: any, ox: any, oy: any, keep_anim: any)

Arguments:

texture: any
ox: any
oy: any
keep_anim: any


ActorSprite:setFacing(facing: any)

Arguments:

facing: any


ActorSprite:setSprite(texture: any, keep_anim: any, ignore_actor_callback: any)

Arguments:

texture: any
keep_anim: any
ignore_actor_callback: any


ActorSprite:setTextureExact(texture: any)

Arguments:

texture: any


ActorSprite:setWalkSprite(texture: any)

Arguments:

texture: any







Fields



Undocumented