public class CursorPositionRecord
extends java.lang.Object
implements java.io.Serializable
Constructor and Description |
---|
CursorPositionRecord(com.jme3.math.Vector2f position,
long timeMillis)
Instantiates a new cursor position record.
|
Modifier and Type | Method and Description |
---|---|
com.jme3.math.Vector2f |
getPosition()
Gets the position.
|
long |
getTimeMillis()
Gets the time millis.
|
void |
setPosition(com.jme3.math.Vector2f position)
Sets the position.
|
void |
setTimeMillis(long timeMillis)
Sets the time millis.
|
public CursorPositionRecord(com.jme3.math.Vector2f position, long timeMillis)
position
- the positiontimeMillis
- the time millispublic com.jme3.math.Vector2f getPosition()
public long getTimeMillis()
public void setPosition(com.jme3.math.Vector2f position)
position
- the new positionpublic void setTimeMillis(long timeMillis)
timeMillis
- the new time millis