public abstract class ControllerControl extends Control
A ControllerControl is a Control that represents an input on a game controller. The controller is specified by a number that ranges from 0 to MAX_CONTROLLERS - 1 inclusive.
| Modifier and Type | Field and Description | 
|---|---|
| static int | MAX_CONTROLLERSThe maximum number of controllers that Cell2D recognizes. | 
| Constructor and Description | 
|---|
| ControllerControl(int controllerNum)Constructs a ControllerControl that represents an input on the controller
 with the specified number. | 
| Modifier and Type | Method and Description | 
|---|---|
| int | getControllerNum()Returns the number of this ControllerControl's controller. | 
getControl, getNamepublic static final int MAX_CONTROLLERS
public ControllerControl(int controllerNum)
                  throws InvalidControlException
controllerNum - The number of this ControllerControl's controllerInvalidControlException - if the specified controller number is
 invalid