static LocationManager()
 {
     instance = new LocationManager();
 }
Exemple #2
0
 /// <summary>
 /// Loads the set of locations from disk. If no locations file is found,
 /// the default set is loaded from Factory
 /// </summary>
 public virtual void LoadLocations()
 {
     this.allLocations = Loader.LoadLocations(Loader.GetPath("Locations.xml"));
     Green("Done!");
 }
        //private static

        /// <summary>
        /// Initializes a new instance of GrammarConverter
        /// </summary>
        private GrammarConverter()
        {
            this.objects   = ObjectManager.Instance;
            this.locations = LocationManager.Instance;
        }