public static void InitializeAllContentLoaders(ContentManager content) { TextureLoader.Initialize(content); FontLoader.Initialize(content); CharmLoader.Initialize(content); CreatureLoader.Initialize(content); ProjectileLoader.Initialize(content); ShieldLoader.Initialize(content); TileLoader.Initialize(content); UserInterfaceLoader.Initialize(content); WeaponLoader.Initialize(content); }
public void GenerateOSMMap() { mapIsReady = false; tilesDico = new Dictionary <string, TileOSMBehaviour>(); tilesToDisplay = new Queue <string>(); tilesToDownload = new Queue <string>(); TileLoader.Initialize(this); //StartDownloadTilesThread(); //InitCoroutineToDisplayTiles(); mapIsReadyForGeneration = true; }