Exemplo n.º 1
0
    private void ProcessTargetedAction()
    {
        // First find all potential targets
        if (_currentTargetedActionIndex != _actionsToTarget.Count)
        {
            _currentTargetType = CurrentTargetedAction.TargetType;
            _potentialTargets  = FindPotentialActionTargets(CurrentTargetedAction);

            DetermineCurrentTargetingMode();
            PlaceInitialTargettingIndicators();
        }
        else
        {
            _uiController.LockInActionTargets();
            BattleManager.Instance.SubmitCharacterAction(_attatchedPlayer, _confirmedActions);
        }
    }