Ejemplo n.º 1
0
 public void Tick(RTPPlayerAction involvedAction)
 {
     if (!endOfCooldownEventEmitted)
     {
         endOfCooldownEventEmitted = true;
     }
 }
Ejemplo n.º 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);
     }
 }
Ejemplo n.º 3
0
 public void ExecuteAction(RTPPlayerAction rTPPlayerAction)
 {
     this.PlayerActionManager.ExecuteAction(rTPPlayerAction);
     this.PlayerActionWheelManager.PlayerActionWheelSleep(false);
 }
Ejemplo n.º 4
0
 public void IncreaseOrAddActionsRemainingExecutionAmount(RTPPlayerAction RTPPlayerAction, int deltaRemaining)
 {
     this.PlayerActionManager.IncreaseOrAddActionsRemainingExecutionAmount(RTPPlayerAction, deltaRemaining);
 }
Ejemplo n.º 5
0
 internal void AddActionToAvailable(RTPPlayerAction addedAction)
 {
     PlayerActionsAvailableManager.AddActionToAvailable(addedAction);
 }
Ejemplo n.º 6
0
 internal void RemoveActionToAvailable(RTPPlayerAction removedAction)
 {
     this.PlayerActionsAvailableManager.RemoveActionToAvailable(removedAction);
 }
Ejemplo n.º 7
0
 internal void IncreaseOrAddActionsRemainingExecutionAmount(RTPPlayerAction RTPPlayerAction, int deltaRemaining)
 {
     PlayerActionsAvailableManager.IncreaseOrAddActionsRemainingExecutionAmount(RTPPlayerAction, deltaRemaining);
 }
Ejemplo n.º 8
0
 internal void ExecuteAction(RTPPlayerAction rTPPlayerAction)
 {
     PlayerActionExecutionManager.ExecuteAction(rTPPlayerAction);
 }
Ejemplo n.º 9
0
 public PlayerSelectionWheelNodeData(RTPPlayerAction playerAction)
 {
     this.playerAction = playerAction;
 }
Ejemplo n.º 10
0
 public void RemoveActionToAvailable(RTPPlayerAction rTPPlayerActionToRemove)
 {
     currentAvailableActions.MultiValueRemove(rTPPlayerActionToRemove.PlayerActionType, rTPPlayerActionToRemove);
 }
Ejemplo n.º 11
0
 public void AddActionToAvailable(RTPPlayerAction rTPPlayerActionToAdd)
 {
     currentAvailableActions.MultiValueAdd(rTPPlayerActionToAdd.PlayerActionType, rTPPlayerActionToAdd);
 }
Ejemplo n.º 12
0
 internal void StopAction()
 {
     currentAction     = null;
     isActionExecuting = false;
 }
Ejemplo n.º 13
0
 public void ExecuteAction(RTPPlayerAction PlayerAction)
 {
     currentAction     = PlayerAction;
     isActionExecuting = true;
     currentAction.FirstExecution();
 }