Class EntityRenderEvent

java.lang.Object
java.util.EventObject
de.gurkenlabs.litiengine.entities.EntityRenderEvent
All Implemented Interfaces:
Serializable

public class EntityRenderEvent extends EventObject
This EventObject contains data about the rendering process of an entity.
See Also:
  • Constructor Details

  • Method Details

    • getGraphics

      public Graphics2D getGraphics()
      Gets the graphics object on which the entity is rendered.
      Returns:
      The graphics object on which the entity is rendered.
    • getEntity

      public IEntity getEntity()
      Get the entity involved with the rendering process.
      Returns:
      The entity involved with the rendering process.