synergynetframework.appsystem.table.animationsystem.animelements
Class MoveInCircle

java.lang.Object
  extended by synergynetframework.appsystem.table.animationsystem.AnimationElement
      extended by synergynetframework.appsystem.table.animationsystem.animelements.MoveInCircle

public class MoveInCircle
extends AnimationElement

The Class MoveInCircle.


Constructor Summary
MoveInCircle(java.util.List<com.jme.scene.Geometry> spatials, float itemWidth)
          Instantiates a new move in circle.
 
Method Summary
 void elementStart(float tpf)
          Element start.
 boolean isFinished()
          Checks if is finished.
 void reset()
          Reset.
 void setGeometries(float angleOffset)
          Sets the geometries.
 void setRPM(float rpm)
          Sets the rpm.
 void updateAnimationState(float tpf)
          Update animation state.
 
Methods inherited from class synergynetframework.appsystem.table.animationsystem.AnimationElement
enable, toString, updateState
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MoveInCircle

public MoveInCircle(java.util.List<com.jme.scene.Geometry> spatials,
                    float itemWidth)
Instantiates a new move in circle.

Parameters:
spatials - the spatials
itemWidth - the item width
Method Detail

elementStart

public void elementStart(float tpf)
Description copied from class: AnimationElement
Element start.

Specified by:
elementStart in class AnimationElement
Parameters:
tpf - the tpf

isFinished

public boolean isFinished()
Description copied from class: AnimationElement
Checks if is finished.

Specified by:
isFinished in class AnimationElement
Returns:
true, if is finished

reset

public void reset()
Description copied from class: AnimationElement
Reset.

Specified by:
reset in class AnimationElement

setGeometries

public void setGeometries(float angleOffset)
Sets the geometries.

Parameters:
angleOffset - the new geometries

setRPM

public void setRPM(float rpm)
Sets the rpm.

Parameters:
rpm - the new rpm

updateAnimationState

public void updateAnimationState(float tpf)
Description copied from class: AnimationElement
Update animation state.

Specified by:
updateAnimationState in class AnimationElement
Parameters:
tpf - the tpf