Constructors
constructor
- new Sprite(imgName, sprite): Sprite
Parameters
imgName: string
sprite: Sprite
Properties
Readonly
debug
debug: Graphics = ...
Readonly
imgName
imgName: string
sprite
sprite: Sprite
Methods
setAnchoredPosition
- setAnchoredPosition(ax, ay, x, y): void
Parameters
ax: number
ay: number
x: number
y: number
Returns void
A sprite is any picture that can be drawn to the screen