summaryrefslogtreecommitdiff
path: root/src/engine/TheAbstractionEngine.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/engine/TheAbstractionEngine.ts')
-rw-r--r--src/engine/TheAbstractionEngine.ts5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/engine/TheAbstractionEngine.ts b/src/engine/TheAbstractionEngine.ts
index 094555b..3859447 100644
--- a/src/engine/TheAbstractionEngine.ts
+++ b/src/engine/TheAbstractionEngine.ts
@@ -1,6 +1,6 @@
import { Game } from ".";
import { Miscellaneous, loadAssets } from "./config";
-import { Player } from "./entities";
+import { Player, FunctionBox } from "./entities";
import { FacingDirection, Input, Render } from "./systems";
import { Grid } from "./systems/Grid";
@@ -38,6 +38,9 @@ export class TheAbstractionEngine {
const player = new Player();
this.game.addEntity(player);
+
+ const box = new FunctionBox({ x: 5, y: 5 });
+ this.game.addEntity(box);
}
public play() {