Beispiel #1
0
 internal Map()
 {
     //_village = new Village(this);
     _barbarians  = new List <Unit>();
     _buildings   = new List <Building>();
     _projectiles = new List <Projectiles>();
     _waves       = new Waves(this);
 }
Beispiel #2
0
 internal Map(Game game)
 {
     _game       = game;
     _countTimer = 0;
     _sec        = DateTime.Now.Second;
     _UI         = new MapUI(_game.Sprites, _game.GetWindow.Render);
     CreateMap();
     _village     = new Village(this);
     _barbarians  = new List <Unit>();
     _buildings   = new List <Building>();
     _projectiles = new List <Projectiles>();
     _projectiles = new List <Projectiles>();
     _waves       = new Waves(this);
 }