Class EntityDespawnAction
- java.lang.Object
-
- de.unistuttgart.informatik.fius.icge.simulation.actions.Action
-
- de.unistuttgart.informatik.fius.icge.simulation.actions.EntityAction
-
- de.unistuttgart.informatik.fius.icge.simulation.actions.EntityDespawnAction
-
public class EntityDespawnAction extends EntityAction
An entity action for when the entity is removed from a play field- Author:
- Tim Neumann
-
-
Constructor Summary
Constructors Constructor Description EntityDespawnAction(long tickNumber, Entity entity, Playfield playfield)
Create an entity despawn action
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getDescription()
Playfield
getPlayfield()
-
Methods inherited from class de.unistuttgart.informatik.fius.icge.simulation.actions.EntityAction
getEntity
-
Methods inherited from class de.unistuttgart.informatik.fius.icge.simulation.actions.Action
getTickNumber, toString
-
-
-
-
Method Detail
-
getPlayfield
public Playfield getPlayfield()
- Returns:
- the playfield the entity was removed from
-
getDescription
public String getDescription()
- Specified by:
getDescription
in classAction
- Returns:
- the description of this action
-
-