phaser3-rex-plugins
Version:
40 lines (29 loc) • 787 B
TypeScript
import GOManager from '../GOManager';
export default BobBase;
declare namespace BobBase {
}
declare class BobBase {
constructor(
GOManager: GOManager,
gameObject: Phaser.GameObjects.GameObject,
name: string
);
destroy(): void;
hasProperty(property: string): boolean;
setProperty(property: string, value: any): this;
easeProperty(
property: string,
value: number,
duration?: number,
ease?: string,
repeat?: null,
isYoyo?: boolean,
onComplete?: Function
): this;
setTimeScale(timeScale: number): this;
hasMethod(methodName: string): boolean;
call(
methodName: string,
...parameters: any[]
): this;
}