// Enables UI buttons and controls for player turn void StartPlayerTurn() { Debug.Log("Start Player Turn"); _currentCharacter = PlayerScript; // Clear all queued actions and reset AP PlayerScript.DequeueAllActions(); // Enable skill buttons and controls // Display overlays around player for movement ShowMovementOverlays(); // Clicking overlays would cause the player to MOVE _currentAction = ActionType.Move; // Update UI UpdateUI(); }
// Sets up the map, player, enemies, and UI in the combat screen void InitializeCombat() { // Initialize combat map and enemies BoardManager.SetupBoard(GameManager.Instance.CombatParameters); _currentCharacter = PlayerScript; }