Ejemplo n.º 1
0
        public void SelectAction(EntityAction entityAction)
        {
            if (SelectedAction != null && SelectedAction != entityAction)
            {
                DeselectAction();
            }

            SelectedAction = entityAction;
            OnActionSelected?.Invoke(this, entityAction);
        }
Ejemplo n.º 2
0
 /// <summary>
 /// Selects the given action to be used by the current actor.
 /// </summary>
 public void SelectAction(BattleAction action)
 {
     SelectedAction = action;
     OnActionSelected?.Invoke(SelectedAction);
 }
Ejemplo n.º 3
0
 public static void ActionSelected(ClientParty p, ClientTile tile, EntityAction action)
 {
     OnActionSelected?.Invoke(p, tile, action);
 }