14 lines
306 B
TypeScript
14 lines
306 B
TypeScript
import { IAssetOwner } from "../asset/AssetManager";
|
|
import { Game } from "../game/Game";
|
|
|
|
export abstract class Scene implements IAssetOwner {
|
|
public readonly game:Game;
|
|
|
|
constructor(game:Game) {
|
|
this.game = game;
|
|
}
|
|
|
|
abstract init():void;
|
|
abstract update():void;
|
|
abstract dispose():void;
|
|
} |