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

List of all members.

Public Member Functions

 Component ()
 Component (final String _name, final String _group)
void setParent (final Entity _parent)
void update (final float _dt)
final boolean isName (final String _name)
final boolean isNameID (final int _nameID)
final boolean isGroup (final String _group)
final boolean isGroupID (final int _groupID)
EventController getComponentEventController ()
boolean writeObject (final SerialiseOutput _output)
boolean readObject (final SerialiseInput _input)

Protected Attributes

final EventController componentEvents = new EventController()
Entity parent = null

Constructor & Destructor Documentation

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

Member Function Documentation

final boolean com.linxonline.mallet.entity.Component.isGroup ( final String  _group)
final boolean com.linxonline.mallet.entity.Component.isGroupID ( final int  _groupID)
final boolean com.linxonline.mallet.entity.Component.isName ( final String  _name)
final boolean com.linxonline.mallet.entity.Component.isNameID ( final int  _nameID)
boolean com.linxonline.mallet.entity.Component.readObject ( final SerialiseInput  _input)

Used to read an Component byte stream and reconstruct it. It does NOT build the Component from scratch.

boolean com.linxonline.mallet.entity.Component.writeObject ( final SerialiseOutput  _output)

Used to write out the byte stream of the Component object


Member Data Documentation

final EventController com.linxonline.mallet.entity.Component.componentEvents = new EventController() [protected]

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