|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.rico.engine.controller.RotationXController
public class RotationXController
This controller class can be used rotatate a mesh continuously around its x-axis.
Constructor Summary | |
---|---|
RotationXController(AbstractMesh mesh,
float speed)
Creates a new x-axis rotation controller with the specified speed value. |
Method Summary | |
---|---|
void |
update(long elapsedTime)
This methods updates the controllers actions |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RotationXController(AbstractMesh mesh, float speed)
mesh
- mesh to rotatespeed
- speed of rotationMethod Detail |
---|
public void update(long elapsedTime)
ControllerIface
update
in interface ControllerIface
elapsedTime
- time between two frames
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |