|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.rico.engine.controller.LightSwingController
public class LightSwingController
This class represents a controller that moves a positional light continiously between its original position and a specified turning point.
Constructor Summary | |
---|---|
LightSwingController(PositionalLightIface light,
Point3D turningPoint,
float speed)
Creates a new controller that lets the specified light move continiously between its original position and the specified turning point. |
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 LightSwingController(PositionalLightIface light, Point3D turningPoint, float speed)
light
- positional light that ought to be movedturningPoint
- turning pointMethod 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 |