Esempio n. 1
0
        public static void AddLocation(string locationKey, LocationDefinition locationDefinition)
        {
            if (LocationHandler.LocationExists(locationKey))
            {
                LocationHandler.RemoveLocation(locationKey);
            }

            GameState.GameLocations.Add(locationKey, locationDefinition);
        }
Esempio n. 2
0
 public static bool LocationExists(LocationDefinition locationDefinition)
 {
     return(LocationExists(locationDefinition.LocationKey));
 }
Esempio n. 3
0
 public static void ResetLocation(LocationDefinition locationDefinition)
 {
     ResetLocation(locationDefinition.LocationKey);
 }
Esempio n. 4
0
 public static void AddLocation(LocationDefinition locationDefinition)
 {
     AddLocation(locationDefinition.LocationKey, locationDefinition);
 }
Esempio n. 5
0
 public static bool RemoveLocation(LocationDefinition locationDefinition)
 {
     return(RemoveLocation(locationDefinition.LocationKey));
 }
Esempio n. 6
0
 public static LocationDefinition GetLocation(LocationDefinition locationDefinition)
 {
     return(GetLocation(locationDefinition.LocationKey));
 }