Ejemplo n.º 1
0
 /// <summary>Создаёт новый экземпляр класса <see cref="Level"/>.</summary>
 /// <param name="name">The name.</param>
 /// <param name="game">The game.</param>
 public Level(string name, SourceryGame game)
 {
     _Font      = game.BigFont;
     _AllMagic  = game.AllMagic;
     _Buildings = new List <Building>();
     LoadXmlAttributes(name);
     _FloatingZone = new FloatingZone(game, _Players);
     _Magics       = new Magics("Settings/Magic.xml", game);
 }
Ejemplo n.º 2
0
 /// <summary>Создаёт новый экземпляр класса <see cref="Level"/>.</summary>
 /// <param name="name">The name.</param>
 /// <param name="game">The game.</param>
 public Level(string name, SourceryGame game)
 {
     _Font = game.BigFont;
       _AllMagic = game.AllMagic;
       _Buildings = new List<Building>();
       LoadXmlAttributes(name);
       _FloatingZone = new FloatingZone(game,_Players);
       _Magics = new Magics("Settings/Magic.xml",game);
 }