Package com.csse3200.game.components
Class DeleteOnMapEdgeComponent
java.lang.Object
com.csse3200.game.components.Component
com.csse3200.game.components.DeleteOnMapEdgeComponent
Entities with this component will self destruct after hitting the grid edge
upon collision.
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
create()
Called when the entity is created and registered.Methods inherited from class com.csse3200.game.components.Component
dispose, earlyUpdate, getEntity, setEnabled, setEntity, toString, triggerEarlyUpdate, triggerUpdate, update
-
Constructor Details
-
DeleteOnMapEdgeComponent
public DeleteOnMapEdgeComponent()
-
-
Method Details