UNPKG

@pietal.dev/engine

Version:

PIXI v8, v7, v6 compatible: inspired by Unity, reactive Game Framework: GameObject, StateMachine, CircleBody, PolygonBody, Physics, Sprite, Container, Animator, TextureAtlas, Resources loading

11 lines (10 loc) 334 B
import { GameObject } from './game-object'; export declare class Prefab extends GameObject { protected createFunction: (prefab: GameObject) => Promise<void>; constructor( label: string, createFunction: (prefab: GameObject) => Promise<void> ); instantiate(): Promise<GameObject>; } //# sourceMappingURL=prefab.d.ts.map