private ControllerAction controllerLeft;
private ControllerAction controllerRight;
private ControllerAction controllerFire;
public ControllerInput(int player) {
Settings settings = Settings.getInstance();
controller = InputManager.getInstance().getController(settings.getControllerIndex(player));
speed = settings.getControllerSpeed(player) * 4.0f;
controllerUp = settings.getControllerUp(player);
controllerDown = settings.getControllerDown(player);
controllerLeft = settings.getControllerLeft(player);
controllerRight = settings.getControllerRight(player);
controllerFire = settings.getControllerFire(player);
}