|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectde.rico.engine.controller.RotationYController
public class RotationYController
This controller class can be used rotatate a mesh continuously around its y-axis.
| Constructor Summary | |
|---|---|
RotationYController(AbstractMesh mesh,
float speed)
Creates a new y-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 RotationYController(AbstractMesh mesh,
float speed)
mesh - mesh to rotatespeed - speed of rotation| Method Detail |
|---|
public void update(long elapsedTime)
ControllerIface
update in interface ControllerIfaceelapsedTime - time between two frames
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||