public void Dispose() { _timer.Dispose(); _timer = null; _gameMoveLogic.Dispose(); _gameMoveLogic = null; foreach (var player in Players) { player.Dispose(); } Players.Clear(); Tiles.Clear(); }
public Game() { _gameMoveLogic = new GameMoveLogic(); _random = new Random(); }