mirror of
https://github.com/photonstorm/phaser
synced 2024-11-10 07:04:31 +00:00
Updated SpineGameObject type definition
This commit is contained in:
parent
2f720246ab
commit
3162ba63d9
1 changed files with 1 additions and 1 deletions
2
types/SpineGameObject.d.ts
vendored
2
types/SpineGameObject.d.ts
vendored
|
@ -98,7 +98,7 @@ declare class SpineGameObject extends Phaser.GameObjects.GameObject implements O
|
|||
setScale(x: number, y?: number): this;
|
||||
setScrollFactor(x: number, y?: number): this;
|
||||
setSize(width?: number, height?: number, offsetX?: number, offsetY?: number): SpineGameObject;
|
||||
setSkeleton(atlasDataKey: string, skeletonJSON: object, animationName?: string, loop?: boolean): SpineGameObject;
|
||||
setSkeleton(atlasDataKey: string, animationName?: string, loop?: boolean, skeletonJSON?: object): SpineGameObject;
|
||||
setSkeletonFromJSON(atlasDataKey: string, skeletonJSON: object, animationName?: string, loop?: boolean): SpineGameObject;
|
||||
setSkin(newSkin: spine.Skin): SpineGameObject;
|
||||
setSkinByName(skinName: string): SpineGameObject;
|
||||
|
|
Loading…
Reference in a new issue