synergynetframework.appsystem.table.animationsystem.animelements
Class MoveInCircleInContainer

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

public class MoveInCircleInContainer
extends AnimationElement

The Class MoveInCircleInContainer.


Constructor Summary
MoveInCircleInContainer(java.util.List<com.jme.scene.Geometry> spatials, float itemWidth, float containerWidth, float containerHeight)
          Instantiates a new move in circle in container.
 
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

MoveInCircleInContainer

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

Parameters:
spatials - the spatials
itemWidth - the item width
containerWidth - the container width
containerHeight - the container height
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