public void moveAction() { if (GameState == gameState.idle) { if (activeUnit.getActions() == 0) { logManager.debugLogWrite("Out of actions!"); return; } //mapManager.moveRangeGenerate(activeUnit); GameState = gameState.moveChoosing; switchChoosingMode(); } }