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; }
private void Awake() { _turnOrder = new MatchTurnOrder(); }