Mallet Engine
2
Entity-Component based game engine, written in Java.
|
Public Member Functions | |
RenderComponent () | |
RenderComponent (final String _name, final String _group) | |
void | add (final Event _draw) |
void | remove (final Event _draw) |
void | addDrawCalls () |
void | removeDrawCalls () |
int | drawSize () |
Settings | getDrawAt (final int _pos) |
RenderComponent is a container class for all Events calls used by the Entity to display graphics via the Renderer.
These events contain a Settings object that defines what and how it should be displayed.
By default addDrawCalls() is called when an Entity is hooked into a Game State.
Use removeDrawCalls() to remove all Events from the renderer that is located in content.
com.linxonline.mallet.entity.RenderComponent.RenderComponent | ( | final String | _name, |
final String | _group | ||
) |
void com.linxonline.mallet.entity.RenderComponent.add | ( | final Event | _draw | ) |
Settings com.linxonline.mallet.entity.RenderComponent.getDrawAt | ( | final int | _pos | ) |
void com.linxonline.mallet.entity.RenderComponent.remove | ( | final Event | _draw | ) |