13 lines
230 B
TypeScript
13 lines
230 B
TypeScript
import { Game } from "../game/Game";
|
|
|
|
export abstract class Scene {
|
|
public readonly game:Game;
|
|
|
|
constructor(game:Game) {
|
|
this.game = game;
|
|
}
|
|
|
|
abstract init():void;
|
|
abstract update():void;
|
|
abstract dispose():void;
|
|
} |