begin coding enemy
This commit is contained in:
@@ -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]
|
||||
|
||||
Reference in New Issue
Block a user