begin coding enemy

This commit is contained in:
2024-12-19 03:08:26 +00:00
parent 07782c7d65
commit 05cc1d3a46
6 changed files with 93 additions and 1 deletions

View File

@@ -160,6 +160,9 @@ struct
val game = GameUpdate.update (game, input)
val playerVec = Player.getDrawVec (#player game, width, height)
val enemyVec = Enemy.getDrawVec (#enemies game, width, height)
val playerVec = Vector.concat [playerVec, enemyVec]
val wallVec = Wall.getDrawVec (#walls game, width, height)
val platVec = Platform.getDrawVec (#platforms game, width, height)
val wallVec = Vector.concat [wallVec, platVec]