Example #1
0
 public void Initialize(Dictionary <string, MatchWrestler> matchRoster, MatchTurnOrder matchTurnOrder)
 {
     turnOrder = matchTurnOrder;
     foreach (var wrestler in matchRoster.Values)
     {
         wrestler.IsSelected += HandleWrestlerIsSelected;
     }
     turnOrder.NewWrestlersTurn += HandleNewWrestlersTurn;
     turnOrder.TurnSequenceDone += HandleTurnsDone;
     turnOrder.CurrentTurnDone  += HandleCurrentTurnDone;
 }
Example #2
0
 private void Awake()
 {
     _turnOrder = new MatchTurnOrder();
 }