1 using Microsoft.Xna.Framework;
3 using System.Collections.Generic;
37 private readonly List<Mission> availableMissions =
new List<Mission>();
42 availableMissions.RemoveAll(m => m.Completed || (m.Failed && !m.Prefab.AllowRetry));
43 return availableMissions;
49 if (location1 ==
null)
51 throw new ArgumentException(
"Invalid location connection: location1 was null");
53 if (location2 ==
null)
55 throw new ArgumentException(
"Invalid location connection: location2 was null");
57 if (location1 == location2)
59 throw new ArgumentException(
"Invalid location connection: location1 was the same as location2");
readonly List< Vector2[]> CrackSegments
IEnumerable< Mission > AvailableMissions
Location OtherLocation(Location location)
LocationConnection(Location location1, Location location2)