Пример #1
0
 static LocationManager()
 {
     instance = new LocationManager();
 }
Пример #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!");
 }
Пример #3
0
        //private static

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