Esempio n. 1
0
        public void Dispose()
        {
            _timer.Dispose();
            _timer = null;

            _gameMoveLogic.Dispose();
            _gameMoveLogic = null;

            foreach (var player in Players)
            {
                player.Dispose();
            }
            Players.Clear();

            Tiles.Clear();
        }
Esempio n. 2
0
 public Game()
 {
     _gameMoveLogic = new GameMoveLogic();
     _random        = new Random();
 }