net.sf.tankbattles.scene.camera
Class TargetChangeAction

java.lang.Object
  extended by com.jme.input.action.InputAction
      extended by net.sf.tankbattles.scene.camera.TargetChangeAction
All Implemented Interfaces:
com.jme.input.action.InputActionInterface

public class TargetChangeAction
extends com.jme.input.action.InputAction

InputAction to be binded to the TAB key for changing the chase camera target.

Author:
erickpassos

Constructor Summary
TargetChangeAction(CustomChaseCamera chaseCamera)
          Constructor already sets the chase camera.
 
Method Summary
 void performAction(com.jme.input.action.InputActionEvent e)
          InputAction main method that asks for the chase camera to move to the next target.
 
Methods inherited from class com.jme.input.action.InputAction
getSpeed, setSpeed
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TargetChangeAction

public TargetChangeAction(CustomChaseCamera chaseCamera)
Constructor already sets the chase camera.

Parameters:
chaseCamera -
Method Detail

performAction

public void performAction(com.jme.input.action.InputActionEvent e)
InputAction main method that asks for the chase camera to move to the next target.