Пример #1
0
 public void Tick(RTPPlayerAction involvedAction)
 {
     if (!endOfCooldownEventEmitted)
     {
         endOfCooldownEventEmitted = true;
     }
 }
Пример #2
0
 public void IncreaseOrAddActionsRemainingExecutionAmount(RTPPlayerAction RTPPlayerAction, int deltaRemaining)
 {
     if (RTPPlayerAction.PlayerActionType != PlayerActionType.UNCLASSIFIED)
     {
         currentAvailableActions.TryGetValue(RTPPlayerAction.PlayerActionType, out var retrievedActions);
         if (retrievedActions != null && retrievedActions.Count > 0)
         {
             foreach (var action in retrievedActions)
             {
                 action.IncreaseActionRemainingExecutionAmount(deltaRemaining);
             }
         }
         else //Wa add
         {
             currentAvailableActions.MultiValueAdd(RTPPlayerAction.PlayerActionType, RTPPlayerAction);
         }
     }
     else //Wa add
     {
         currentAvailableActions.MultiValueAdd(RTPPlayerAction.PlayerActionType, RTPPlayerAction);
     }
 }
Пример #3
0
 public void ExecuteAction(RTPPlayerAction rTPPlayerAction)
 {
     this.PlayerActionManager.ExecuteAction(rTPPlayerAction);
     this.PlayerActionWheelManager.PlayerActionWheelSleep(false);
 }
Пример #4
0
 public void IncreaseOrAddActionsRemainingExecutionAmount(RTPPlayerAction RTPPlayerAction, int deltaRemaining)
 {
     this.PlayerActionManager.IncreaseOrAddActionsRemainingExecutionAmount(RTPPlayerAction, deltaRemaining);
 }
Пример #5
0
 internal void AddActionToAvailable(RTPPlayerAction addedAction)
 {
     PlayerActionsAvailableManager.AddActionToAvailable(addedAction);
 }
Пример #6
0
 internal void RemoveActionToAvailable(RTPPlayerAction removedAction)
 {
     this.PlayerActionsAvailableManager.RemoveActionToAvailable(removedAction);
 }
Пример #7
0
 internal void IncreaseOrAddActionsRemainingExecutionAmount(RTPPlayerAction RTPPlayerAction, int deltaRemaining)
 {
     PlayerActionsAvailableManager.IncreaseOrAddActionsRemainingExecutionAmount(RTPPlayerAction, deltaRemaining);
 }
Пример #8
0
 internal void ExecuteAction(RTPPlayerAction rTPPlayerAction)
 {
     PlayerActionExecutionManager.ExecuteAction(rTPPlayerAction);
 }
Пример #9
0
 public PlayerSelectionWheelNodeData(RTPPlayerAction playerAction)
 {
     this.playerAction = playerAction;
 }
Пример #10
0
 public void RemoveActionToAvailable(RTPPlayerAction rTPPlayerActionToRemove)
 {
     currentAvailableActions.MultiValueRemove(rTPPlayerActionToRemove.PlayerActionType, rTPPlayerActionToRemove);
 }
Пример #11
0
 public void AddActionToAvailable(RTPPlayerAction rTPPlayerActionToAdd)
 {
     currentAvailableActions.MultiValueAdd(rTPPlayerActionToAdd.PlayerActionType, rTPPlayerActionToAdd);
 }
Пример #12
0
 internal void StopAction()
 {
     currentAction     = null;
     isActionExecuting = false;
 }
Пример #13
0
 public void ExecuteAction(RTPPlayerAction PlayerAction)
 {
     currentAction     = PlayerAction;
     isActionExecuting = true;
     currentAction.FirstExecution();
 }