TexturePointerSkin
pixi-wheels / index / TexturePointerSkin
Class: TexturePointerSkin
Defined in: pointer/TexturePointerSkin.ts:27
A pointer that is a sprite. Bring the game’s own stopper art.
Implements#
Constructors#
Constructor#
new TexturePointerSkin(options: TexturePointerSkinOptions): TexturePointerSkin;
Defined in: pointer/TexturePointerSkin.ts:34
Parameters#
| Parameter | Type |
|---|---|
options | TexturePointerSkinOptions |
Returns#
TexturePointerSkin
Properties#
Accessors#
isDestroyed#
Get Signature#
get isDestroyed(): boolean;
Defined in: pointer/TexturePointerSkin.ts:62
Returns
boolean
Implementation of#
sprite#
Get Signature#
get sprite(): Sprite;
Defined in: pointer/TexturePointerSkin.ts:54
Returns
Sprite
Methods#
destroy()#
destroy(): void;
Defined in: pointer/TexturePointerSkin.ts:66
Returns#
void
Implementation of#
setDeflection()#
setDeflection(deg: number): void;
Defined in: pointer/TexturePointerSkin.ts:58
Rotate the visual around the pin by deg (the flap).
Parameters#
| Parameter | Type |
|---|---|
deg | number |
Returns#
void