Class EntityRenderEvent
java.lang.Object
java.util.EventObject
de.gurkenlabs.litiengine.entities.EntityRenderEvent
- All Implemented Interfaces:
java.io.Serializable
public class EntityRenderEvent
extends java.util.EventObject
This
EventObject
contains data about the rendering process of an entity.Field Summary
Constructor Summary
Constructors Constructor Description EntityRenderEvent(java.awt.Graphics2D graphics, IEntity entity)
Method Summary
Modifier and Type Method Description IEntity
getEntity()
Get the entity involved with the rendering process.java.awt.Graphics2D
getGraphics()
Gets the graphics object on which the entity is rendered.
Constructor Details
Method Details
getGraphics
public java.awt.Graphics2D getGraphics()Gets the graphics object on which the entity is rendered.- Returns:
- The graphics object on which the entity is rendered.
getEntity
Get the entity involved with the rendering process.- Returns:
- The entity involved with the rendering process.