diff options
Diffstat (limited to 'src/engine/levels/CarCadr.ts')
-rw-r--r-- | src/engine/levels/CarCadr.ts | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/engine/levels/CarCadr.ts b/src/engine/levels/CarCadr.ts index 8875623..ee50ee9 100644 --- a/src/engine/levels/CarCadr.ts +++ b/src/engine/levels/CarCadr.ts @@ -9,6 +9,8 @@ import { Player, Wall, } from "../entities"; +import { Piston } from "../entities/Piston"; +import { Direction } from "../interfaces"; import { Grid, SystemNames } from "../systems"; import { normalRandom } from "../utils"; @@ -58,6 +60,7 @@ export class CarCadr extends Level { new Wall({ x: 10, y: 5 }), new Wall({ x: 12, y: 5 }), new Wall({ x: 12, y: 3 }), + new Piston({ x: 10, y: 6 }, Direction.RIGHT), new FunctionApplication({ x: 12, y: 6 }, "(_INPUT _KEY)"), new Wall({ x: 10, y: 7 }), new Wall({ x: 11, y: 7 }), |