public PlayerCursor(string player, GraphicsDevice aGraphicsDevice, BaseDisplay aParent) : base(aGraphicsDevice, aParent) { this.player = player; BackColor = Color.White * 0.0f; IPC = (IPlayerCursor)parent; IPC.Players.Add(player, this); }
public BoardCursor(Board board, IPlayerCursor playerCursor) { _board = board; _playerCursor = playerCursor; var players = _playerCursor.GetAll(); Positions = new Dictionary <Player, int>(players.Count); foreach (var player in players) { SendToStart(player); } _freezeIndex = -1; }