public void SetPlayer(Player p) { CommanderUI otherCommanderUI = p.Type == PlayerType.Battlebeard ? _stormshaperCommanderUI : _battlebeardCommanderUI; otherCommanderUI.DisablePlayerMovement(); _CommanderUI = p.Type == PlayerType.Battlebeard ? _battlebeardCommanderUI : _stormshaperCommanderUI; _CommanderUI.DisplayInfo(); SwitchFocus(_CommanderUI); }
public void DisablePlayerMovement() { _CommanderUI.DisablePlayerMovement(); }