14 lines
304 B
TypeScript
14 lines
304 B
TypeScript
import { GameData, SceneProperties } from "./types.ts";
|
|
import Player from "./Player.ts";
|
|
import Scene from "./Scene.ts";
|
|
|
|
export class State {
|
|
#player: Player;
|
|
#scene: Scene;
|
|
|
|
constructor(gameData: GameData<SceneProperties>) {
|
|
this.#player = new Player();
|
|
this.#scene = new Scene(gameData);
|
|
}
|
|
}
|