Esempio n. 1
0
 void RestartGame()
 {
     if (_httpView != null)
     {
         _httpView.Close();
     }
     _field          = new Field(new ReverseGenerator("setup.txt", "tiles/tiles.txt"));
     _httpView       = new HttpView(_field);
     panelView.Field = _field;
 }
Esempio n. 2
0
 void RestartGame()
 {
     if (_httpView != null)
     {
         _httpView.Close();
     }
     _field = new Field(new ReverseGenerator("setup.txt", "tiles/tiles.txt"));
     _httpView = new HttpView(_field);
     panelView.Field = _field;
 }