add code so that enemy gains a new projectile when attacking falling enemies, and also draw the falling enemies

This commit is contained in:
2025-02-08 10:48:34 +00:00
parent 51401231e1
commit 26870816db
3 changed files with 62 additions and 1 deletions

View File

@@ -242,7 +242,8 @@ struct
val wallVec = Wall.getDrawVec (#walls game, width, height)
val platVec = Platform.getDrawVec (#platforms game, width, height)
val chainVec = Player.getFieldVec (#player game, width, height)
val wallVec = Vector.concat [wallVec, platVec, chainVec]
val fallingVec = FallingEnemies.getDrawVec (game, width, height)
val wallVec = Vector.concat [wallVec, platVec, chainVec, fallingVec]
(* temp *)
val pelletVec = Player.getPelletVec (#player game, width, height)