Mallet Engine  2
Entity-Component based game engine, written in Java.
 All Classes Namespaces Files Functions Variables
Public Member Functions
com.linxonline.mallet.entity.RenderComponent Class Reference
Inheritance diagram for com.linxonline.mallet.entity.RenderComponent:
Inheritance graph
[legend]
Collaboration diagram for com.linxonline.mallet.entity.RenderComponent:
Collaboration graph
[legend]

List of all members.

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)

Detailed Description

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.


Constructor & Destructor Documentation

com.linxonline.mallet.entity.RenderComponent.RenderComponent ( final String  _name,
final String  _group 
)

Member Function Documentation


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables