コード例 #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;
        }