synergynetframework.jme.cursorsystem.cursordata
Class ScreenCursorRecord

java.lang.Object
  extended by synergynetframework.jme.cursorsystem.cursordata.ScreenCursorRecord

public class ScreenCursorRecord
extends java.lang.Object

The coordinate system for this class is jme screen coordinates.

Author:
dcs0ah1

Field Summary
 float a
          The a.
 float da
          The da.
 float dx
          The dx.
 float dy
          The dy.
 float dz
          The dz.
 long time
          The time.
 float x
          The x.
 float y
          The y.
 float z
          The z.
 
Constructor Summary
ScreenCursorRecord(float x, float y)
          Instantiates a new screen cursor record.
ScreenCursorRecord(float xpos, float ypos, float zpos, float x_speed, float y_speed, float z_speed, float m_accel, long l)
          Instantiates a new screen cursor record.
ScreenCursorRecord(ScreenCursorRecord r)
          Instantiates a new screen cursor record.
ScreenCursorRecord(com.jme.math.Vector2f position, com.jme.math.Vector2f velocity)
          Instantiates a new screen cursor record.
 
Method Summary
 java.lang.Object clone()
           
 com.jme.math.Vector2f getPosition()
          Gets the position.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

a

public float a
The a.


da

public float da
The da.


dx

public float dx
The dx.


dy

public float dy
The dy.


dz

public float dz
The dz.


time

public long time
The time.


x

public float x
The x.


y

public float y
The y.


z

public float z
The z.

Constructor Detail

ScreenCursorRecord

public ScreenCursorRecord(float x,
                          float y)
Instantiates a new screen cursor record.

Parameters:
x - the x
y - the y

ScreenCursorRecord

public ScreenCursorRecord(float xpos,
                          float ypos,
                          float zpos,
                          float x_speed,
                          float y_speed,
                          float z_speed,
                          float m_accel,
                          long l)
Instantiates a new screen cursor record.

Parameters:
xpos - the xpos
ypos - the ypos
zpos - the zpos
x_speed - the x_speed
y_speed - the y_speed
z_speed - the z_speed
m_accel - the m_accel
l - the l

ScreenCursorRecord

public ScreenCursorRecord(ScreenCursorRecord r)
Instantiates a new screen cursor record.

Parameters:
r - the r

ScreenCursorRecord

public ScreenCursorRecord(com.jme.math.Vector2f position,
                          com.jme.math.Vector2f velocity)
Instantiates a new screen cursor record.

Parameters:
position - the position
velocity - the velocity
Method Detail

clone

public java.lang.Object clone()
Overrides:
clone in class java.lang.Object

getPosition

public com.jme.math.Vector2f getPosition()
Gets the position.

Returns:
the position

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object