summaryrefslogtreecommitdiff
path: root/src/engine/TheAbstractionEngine.ts
diff options
context:
space:
mode:
authorElizabeth Hunt <elizabeth.hunt@simponic.xyz>2024-03-01 22:04:57 -0700
committerElizabeth Hunt <elizabeth.hunt@simponic.xyz>2024-03-01 22:04:57 -0700
commit55024f44c3713049c68e4f3f23ecdc3633cd4a24 (patch)
tree5989a20209f7b1e3a06f2eeca70b56a9bd2f7995 /src/engine/TheAbstractionEngine.ts
parentc3242b171cdbb36a26fda04c7148b9b40a5f5c33 (diff)
downloadthe-abstraction-engine-55024f44c3713049c68e4f3f23ecdc3633cd4a24.tar.gz
the-abstraction-engine-55024f44c3713049c68e4f3f23ecdc3633cd4a24.zip
add function box entity
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() {