public class Cursor
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
Cursor.Mode
The Enum Mode.
|
Modifier and Type | Field and Description |
---|---|
com.jme3.math.Vector2f |
current
The current.
|
com.jme3.math.Vector2f |
endpos
The endpos.
|
long |
id
The id.
|
Cursor.Mode |
mode
The mode.
|
com.jme3.math.Vector2f |
startpos
The startpos.
|
Constructor and Description |
---|
Cursor(long cursorID,
com.jme3.math.Vector2f position)
Instantiates a new cursor.
|
Modifier and Type | Method and Description |
---|---|
void |
setCurrentPosition(com.jme3.math.Vector2f pos)
Sets the current position.
|
void |
setEndPosition(com.jme3.math.Vector2f pos)
Sets the end position.
|
public com.jme3.math.Vector2f current
public com.jme3.math.Vector2f endpos
public long id
public Cursor.Mode mode
public com.jme3.math.Vector2f startpos