Exemple #1
0
 public GameScreen(Tanks tanksGame, IMapReader mapReader, IContentReader contentReader)
 {
     _tanksGame = tanksGame;
     _mapReader = mapReader;
     _contentReader = contentReader;
     map = _mapReader.ReadMapForLevel(1);
 }
Exemple #2
0
 /// <summary>
 /// Initializes a new instance of the MainViewModel class.
 /// </summary>
 public MainViewModel()
 {
     Map = new Map();
 }