public abstract class TUIOObjectRepresentation
extends java.lang.Object
Constructor and Description |
---|
TUIOObjectRepresentation()
Constructs the object with an id and also sets the creationTime to be
now.
|
Modifier and Type | Method and Description |
---|---|
long |
getCreationTime()
Gets the creation time.
|
long |
getId()
Gets the id.
|
com.jme3.math.Vector2f |
getPosition()
Gets the position.
|
com.jme3.math.Vector2f |
getVelocity()
Gets the velocity.
|
void |
setCreationTime(long creationTime)
Sets the creation time.
|
void |
setId(long id)
Sets the id.
|
void |
setPosition(com.jme3.math.Vector2f position)
Sets the position.
|
void |
setVelocity(com.jme3.math.Vector2f velocity)
Sets the velocity.
|
public TUIOObjectRepresentation()
id
- public long getCreationTime()
public long getId()
public com.jme3.math.Vector2f getPosition()
public com.jme3.math.Vector2f getVelocity()
public void setCreationTime(long creationTime)
creationTime
- the new creation timepublic void setId(long id)
id
- the new idpublic void setPosition(com.jme3.math.Vector2f position)
position
- the new positionpublic void setVelocity(com.jme3.math.Vector2f velocity)
velocity
- the new velocity