diff options
Diffstat (limited to 'src/engine/levels/Tutorial.ts')
-rw-r--r-- | src/engine/levels/Tutorial.ts | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/engine/levels/Tutorial.ts b/src/engine/levels/Tutorial.ts index 694c8ff..b720346 100644 --- a/src/engine/levels/Tutorial.ts +++ b/src/engine/levels/Tutorial.ts @@ -6,6 +6,7 @@ import { LambdaFactory, LockedDoor, Player, + Sign, Wall, } from "../entities"; @@ -16,14 +17,15 @@ export class Tutorial extends Level { public init(game: Game): void { const entities = [ - new Player({ x: 2, y: 2 }), + new Sign("TODO: Explain entities", { x: 4, y: 3 }), new Wall({ x: 10, y: 9 }), new Wall({ x: 10, y: 11 }), new Wall({ x: 11, y: 10 }), new Curry({ x: 10, y: 10 }), new LockedDoor({ x: 9, y: 10 }), new LambdaFactory({ x: 6, y: 3 }, "// TODO: Remove line\n(λ (x) . x)", 3), - new FunctionApplication({ x: 6, y: 6 }, "(_INPUT key)"), + new FunctionApplication({ x: 6, y: 6 }, "(_INPUT _KEY)"), + new Player({ x: 2, y: 2 }), ]; entities.forEach((entity) => game.addEntity(entity)); |