@Test public void flagToReMap() { initialise(); assertFalse(InputManager.getMappingState()); InputManager.flagToReMap(GameAction.JUMP); assertTrue(InputManager.getMappingState()); InputManager.breakFromReMap(); assertFalse(InputManager.getMappingState()); }
public static void flagToReMap(GameAction action) { redirectNextKey = true; actionToMap = action; logger.info("Remapping next key"); }
InputManager implements EventHandler<InputEvent> { public static void flagToReMap(GameAction action) { redirectNextKey = true; actionToMap = action; logger.info("Remapping next key"); } }
InputManager implements EventHandler<InputEvent> { public static void flagToReMap(GameAction action) { redirectNextKey = true; actionToMap = action; logger.info("Remapping next key"); }  }
InputManager implements EventHandler<InputEvent> { public static void flagToReMap(GameAction action) { redirectNextKey = true; actionToMap = action; logger.info("Remapping next key"); }  static void updateKeyStates(); static void clearKeyStates(); static boolean getActionState(GameAction action); static boolean justPressed(GameAction action); static boolean justReleased(GameAction action); static boolean getDoublePressed(GameAction action); static void setViewport(Viewport port); static double getDiffX(double x); static double getDiffY(double y); static double getMousePixelX(); static double getMousePixelY(); static double getMouseTileX(); static double getMouseTileY(); static void setTestValue(GameAction action, boolean state); static void setDoubleKeyTestValue(GameAction action, boolean state); static void clearAllValues(); void handle(InputEvent e); static void flagToSwap(); static void flagToReMap(GameAction action); static void breakFromReMap(); static void queryKey(); static boolean getSwappingState(); static boolean getSwapKey1State(); static boolean getMappingState(); static boolean getQueryState(); }
InputManager implements EventHandler<InputEvent> { public static void flagToReMap(GameAction action) { redirectNextKey = true; actionToMap = action; logger.info("Remapping next key"); }  static void updateKeyStates(); static void clearKeyStates(); static boolean getActionState(GameAction action); static boolean justPressed(GameAction action); static boolean justReleased(GameAction action); static boolean getDoublePressed(GameAction action); static void setViewport(Viewport port); static double getDiffX(double x); static double getDiffY(double y); static double getMousePixelX(); static double getMousePixelY(); static double getMouseTileX(); static double getMouseTileY(); static void setTestValue(GameAction action, boolean state); static void setDoubleKeyTestValue(GameAction action, boolean state); static void clearAllValues(); void handle(InputEvent e); static void flagToSwap(); static void flagToReMap(GameAction action); static void breakFromReMap(); static void queryKey(); static boolean getSwappingState(); static boolean getSwapKey1State(); static boolean getMappingState(); static boolean getQueryState();  }