|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.jme.input.action.InputAction
com.jme.input.action.KeyInputAction
com.jme.input.thirdperson.ThirdPersonRightAction
public class ThirdPersonRightAction
ThirdPersonRightAction
| Field Summary |
|---|
| Fields inherited from class com.jme.input.action.InputAction |
|---|
speed |
| Constructor Summary | |
|---|---|
ThirdPersonRightAction(ThirdPersonHandler handler,
float speed)
Constructor creates a new ThirdPersonRightAction object. |
|
| Method Summary | |
|---|---|
void |
performAction(InputActionEvent event)
performAction moves the node towards the right direction
vector at a speed of movement speed * time. |
| Methods inherited from class com.jme.input.action.InputAction |
|---|
getSpeed, setSpeed |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ThirdPersonRightAction(ThirdPersonHandler handler,
float speed)
ThirdPersonRightAction object.
During construction, the character to direct and the speed at which to
move the character is set.
character - the character that will be affected by this action.speed - the speed at which the camera can move.| Method Detail |
|---|
public void performAction(InputActionEvent event)
performAction moves the node towards the right direction
vector at a speed of movement speed * time. Where time is the time
between frames and 1 corresponds to 1 second.
event - the event that triggered the perform action method.InputActionInterface.performAction(InputActionEvent)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||