|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectsynergynetframework.jme.cursorsystem.flicksystem.FlickSystem
public class FlickSystem
The Class FlickSystem.
| Method Summary | |
|---|---|
void |
flick(com.jme.scene.Spatial s,
com.jme.math.Vector3f linearVelocity,
float deceleration)
Flick. |
static FlickMover |
getFlickMover(com.jme.scene.Spatial s)
Gets the flick mover. |
static FlickSystem |
getInstance()
Gets the single instance of FlickSystem. |
FlickMover |
getMovingElement(com.jme.scene.Spatial s)
Gets the moving element. |
java.util.Queue<FlickMover> |
getMovingElements()
Gets the moving elements. |
boolean |
isFlickable(com.jme.scene.Spatial s)
Checks if is flickable. |
static boolean |
isNetworkFlickMode()
Checks if is network flick mode. |
void |
makeFlickable(com.jme.scene.Spatial s,
MultiTouchElement movingElement,
float deceleration)
Make flickable. |
void |
makeFlickable(com.jme.scene.Spatial pickingSpatial,
com.jme.scene.Spatial targetSpatial,
MultiTouchElement movingElement,
float deceleration)
Make flickable. |
void |
makeUnflickable(com.jme.scene.Spatial s)
Make unflickable. |
static void |
setNetworkFlickMode(boolean networkFlickMode)
Sets the network flick mode. |
void |
update(float timePerFrame)
Update. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static FlickMover getFlickMover(com.jme.scene.Spatial s)
s - the s
public static FlickSystem getInstance()
public static boolean isNetworkFlickMode()
public static void setNetworkFlickMode(boolean networkFlickMode)
networkFlickMode - the networkFlickMode to set
public void flick(com.jme.scene.Spatial s,
com.jme.math.Vector3f linearVelocity,
float deceleration)
s - the slinearVelocity - the linear velocitydeceleration - the decelerationpublic FlickMover getMovingElement(com.jme.scene.Spatial s)
s - the s
public java.util.Queue<FlickMover> getMovingElements()
public boolean isFlickable(com.jme.scene.Spatial s)
s - the s
public void makeFlickable(com.jme.scene.Spatial s,
MultiTouchElement movingElement,
float deceleration)
s - the smovingElement - the moving elementdeceleration - the deceleration
public void makeFlickable(com.jme.scene.Spatial pickingSpatial,
com.jme.scene.Spatial targetSpatial,
MultiTouchElement movingElement,
float deceleration)
pickingSpatial - the picking spatialtargetSpatial - the target spatialmovingElement - the moving elementdeceleration - the decelerationpublic void makeUnflickable(com.jme.scene.Spatial s)
s - the spublic void update(float timePerFrame)
Updateable
update in interface UpdateabletimePerFrame - the time per frame
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||