Mallet Engine
2
Entity-Component based game engine, written in Java.
|
Public Member Functions | |
CheckBoxComponent () | |
void | setBoxDimension (final float _width, final float _height) |
final void | setEventComponent (final EventComponent _component) |
final void | setRenderComponent (final RenderComponent _component) |
final void | addMessage (final Event _message) |
void | update (final float _dt) |
void | passMessages () |
void | tick () |
Public Attributes | |
RenderComponent | renderComponent = null |
EventComponent | eventComponent = null |
String | defaultBox = null |
String | defaultRollover = null |
String | defaultCheck = null |
Vector2 | boxDim = new Vector2( 64, 128 ) |
Protected Member Functions | |
void | updateInputs () |
void | pressed (final float _x, final float _y) |
void | released (final float _x, final float _y) |
final void | setBox (final String _texture, final int _layer) |
Protected Attributes | |
boolean | isPressed = false |
Vector2 | mouse = new Vector2() |
Vector2 | offset = null |
ArrayList< Event > | events = new ArrayList<Event>() |
final void com.linxonline.mallet.entity.CheckBoxComponent.addMessage | ( | final Event | _message | ) |
void com.linxonline.mallet.entity.CheckBoxComponent.pressed | ( | final float | _x, |
final float | _y | ||
) | [protected] |
void com.linxonline.mallet.entity.CheckBoxComponent.released | ( | final float | _x, |
final float | _y | ||
) | [protected] |
final void com.linxonline.mallet.entity.CheckBoxComponent.setBox | ( | final String | _texture, |
final int | _layer | ||
) | [protected] |
void com.linxonline.mallet.entity.CheckBoxComponent.setBoxDimension | ( | final float | _width, |
final float | _height | ||
) |
final void com.linxonline.mallet.entity.CheckBoxComponent.setEventComponent | ( | final EventComponent | _component | ) |
final void com.linxonline.mallet.entity.CheckBoxComponent.setRenderComponent | ( | final RenderComponent | _component | ) |
void com.linxonline.mallet.entity.CheckBoxComponent.update | ( | final float | _dt | ) |
Reimplemented from com.linxonline.mallet.entity.InputComponent.
void com.linxonline.mallet.entity.CheckBoxComponent.updateInputs | ( | ) | [protected] |
Vector2 com.linxonline.mallet.entity.CheckBoxComponent.boxDim = new Vector2( 64, 128 ) |
ArrayList<Event> com.linxonline.mallet.entity.CheckBoxComponent.events = new ArrayList<Event>() [protected] |
boolean com.linxonline.mallet.entity.CheckBoxComponent.isPressed = false [protected] |
Vector2 com.linxonline.mallet.entity.CheckBoxComponent.mouse = new Vector2() [protected] |
Vector2 com.linxonline.mallet.entity.CheckBoxComponent.offset = null [protected] |