Uses of Class
model.events.EntityDiedEvent
Packages that use EntityDiedEvent
-
Uses of EntityDiedEvent in controller
Methods in controller with parameters of type EntityDiedEventModifier and TypeMethodDescriptionvoidGame.entityDied(EntityDiedEvent e) Something in the game has died so register this as a game event (by adding it to the game events queue) so that the game can respond (will need to check if its the ship which means we LOSE or if its the last alien which means we WIN!) -
Uses of EntityDiedEvent in model
Methods in model with parameters of type EntityDiedEventModifier and TypeMethodDescriptionvoidAlienArmyArray.entityDied(EntityDiedEvent e) entityDiedvoidEntity.entityDied(EntityDiedEvent e) Set the state of the entity to DEADvoidEntityListArray.entityDied(EntityDiedEvent e) protected voidEntity.fireEntityDied(EntityDiedEvent e) Inform listeners that this entity has no life left ie its dead -
Uses of EntityDiedEvent in model.events
Methods in model.events with parameters of type EntityDiedEvent