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

11 lines
261 B
TypeScript
Raw Normal View History

2022-11-26 01:22:02 +00:00
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;
}