Class EntitySpawnedEvent
java.lang.Object
java.util.EventObject
de.gurkenlabs.litiengine.entities.EntitySpawnedEvent
- All Implemented Interfaces:
Serializable
Represents an event that is triggered when an entity is spawned.
- See Also:
-
Field Summary
Fields inherited from class java.util.EventObject
source -
Method Summary
Modifier and TypeMethodDescriptionGets the entity that was spawned.Gets the spawnpoint that triggered this event.Methods inherited from class java.util.EventObject
getSource, toString
-
Method Details
-
getSpawnpoint
Gets the spawnpoint that triggered this event.- Returns:
- The spawnpoint that triggered this event.
-
getSpawnedEntity
Gets the entity that was spawned.- Returns:
- The entity that was spawned.
-