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

List of all members.

Public Member Functions

 TextAreaComponent ()
void setDimensions (final float _width, final float _height)
final void setEventComponent (final EventComponent _component)
final void setRenderComponent (final RenderComponent _component)
final void setTextComponent (final RenderComponent _component)
void update (final float _dt)
void cursorBlink (final float _dt)
void updateKeyboardInputs (final InputEvent _event)
final boolean intersect (final int _x, final int _y)
void setText (final String _text)
String getText ()

Public Attributes

RenderComponent renderComponent = null
RenderComponent textComponent = null
EventComponent eventComponent = null

Protected Member Functions

void updateInputs ()
void pressed (final int _x, final int _y)

Protected Attributes

Vector2 dimension = new Vector2( 100.0f, 10.0f )
int mouseX = 0
int mouseY = 0

Constructor & Destructor Documentation


Member Function Documentation

final boolean com.linxonline.mallet.entity.TextAreaComponent.intersect ( final int  _x,
final int  _y 
)
void com.linxonline.mallet.entity.TextAreaComponent.pressed ( final int  _x,
final int  _y 
) [protected]
void com.linxonline.mallet.entity.TextAreaComponent.setDimensions ( final float  _width,
final float  _height 
)

Member Data Documentation

Vector2 com.linxonline.mallet.entity.TextAreaComponent.dimension = new Vector2( 100.0f, 10.0f ) [protected]

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