pixi-wheels

TexturePointerSkin

pixi-wheels


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#

ParameterType
optionsTexturePointerSkinOptions

Returns#

TexturePointerSkin

Properties#

PropertyModifierTypeDescriptionDefined in
lengthreadonlynumberPin-to-tip distance in pixels, so the ring can seat the tip on the rim.pointer/TexturePointerSkin.ts:29
viewreadonlyContainer<ContainerChild>-pointer/TexturePointerSkin.ts:28

Accessors#

isDestroyed#

Get Signature#

get isDestroyed(): boolean;

Defined in: pointer/TexturePointerSkin.ts:62

Returns

boolean

Implementation of#

PointerSkin.isDestroyed


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#

PointerSkin.destroy


setDeflection()#

setDeflection(deg: number): void;

Defined in: pointer/TexturePointerSkin.ts:58

Rotate the visual around the pin by deg (the flap).

Parameters#

ParameterType
degnumber

Returns#

void

Implementation of#

PointerSkin.setDeflection