public Player AddPlayer(string color) { var playerSize = Settings.PlayerSize; var cords = RandomPosition(playerSize); var player = new Player(color, playerSize, cords); Players.Add(player); return player; }
public void SetUp() { Board = new Board(100, 100); Player = Board.AddPlayer("red"); }
public void TearDown() { Board = null; Player = null; }