assassin-bug/framework/scene/scene.d.ts

11 lines
261 B
TypeScript

import { SceneManager } from './manager';
export interface Scene {
id: string;
data: any;
onActivate(manager: SceneManager): any;
onDeactivate(): any;
onSwitch(data: any): any;
update(dt: number): any;
updateDraw(): any;
}