From 1ec5a8d088f599d094f387abc6014f228607b605 Mon Sep 17 00:00:00 2001 From: Elizabeth Hunt Date: Sat, 2 Mar 2024 01:07:55 -0700 Subject: add interactable component --- src/engine/TheAbstractionEngine.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/engine/TheAbstractionEngine.ts') diff --git a/src/engine/TheAbstractionEngine.ts b/src/engine/TheAbstractionEngine.ts index 3859447..78d4f88 100644 --- a/src/engine/TheAbstractionEngine.ts +++ b/src/engine/TheAbstractionEngine.ts @@ -39,8 +39,10 @@ export class TheAbstractionEngine { const player = new Player(); this.game.addEntity(player); - const box = new FunctionBox({ x: 5, y: 5 }); + const box = new FunctionBox({ x: 3, y: 1 }); this.game.addEntity(box); + const box2 = new FunctionBox({ x: 4, y: 1 }); + this.game.addEntity(box2); } public play() { -- cgit v1.2.3-70-g09d2