Class EntityMessageEvent
java.lang.Object
java.util.EventObject
de.gurkenlabs.litiengine.entities.EntityMessageEvent
- All Implemented Interfaces:
java.io.Serializable
public class EntityMessageEvent
extends java.util.EventObject
This implementation is used for events that contain information about a received message.
Field Summary
Method Summary
Modifier and Type Method Description IEntity
getEntity()
Gets the entity that received the message.java.lang.String
getMessage()
Gets the message that was received.
Method Details
getEntity
Gets the entity that received the message.- Returns:
- The entity that received the message.
getMessage
public java.lang.String getMessage()Gets the message that was received.- Returns:
- The message.