예제 #1
0
 /// <summary>
 /// The main entry point for the application.
 /// </summary>
 static void Main(string[] args)
 {
     using (Tanks game = new Tanks())
     {
         game.Run();
     }
 }
예제 #2
0
 public GameScreen(Tanks tanksGame, IMapReader mapReader, IContentReader contentReader)
 {
     _tanksGame = tanksGame;
     _mapReader = mapReader;
     _contentReader = contentReader;
     map = _mapReader.ReadMapForLevel(1);
 }