public void OnPhaseChanged(PhaseChangedEvent evt) { if (currentTurnOwner != guiinfo.Player) return; guiinfo.ResetPhaseColor(evt.OldPhase); guiinfo.SetPhaseColor(evt.NewPhase, guiinfo.FocusColor); }
public void OnPhaseChangedEvt(PhaseChangedEvent evt) { if (evt.NewPhase != Phases.Move) return; foreach (var kv in routes) { this.unDrawRoute(kv.Value); } routes.Clear(); }