Exemplo n.º 1
0
 public MapCreator(Settings settings,
                   MapParser mapParser,
                   MapObjectsManager mapObjectsManager,
                   TankSpawner tankSpawner,
                   BonusSpawner bonusSpawner,
                   MapSettingsManager mapSettingsManager)
 {
     _settings           = settings;
     _mapParser          = mapParser;
     _mapObjectsManager  = mapObjectsManager;
     _tankSpawner        = tankSpawner;
     _bonusSpawner       = bonusSpawner;
     _mapSettingsManager = mapSettingsManager;
 }
Exemplo n.º 2
0
 public static void Add(this MapObjectsManager mapObjects, float x, float y, MapObjectKind objectKind)
 {
     mapObjects.Add(new Vector2(x, y), objectKind);
 }