add code so that enemy gains a new projectile when attacking falling enemies, and also draw the falling enemies
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user