public bool TryMoveToANewLocation(Location from, Location to) { if (from.Exits.Contains(to) || (from as IHasExteriorDoor).DoorLeadsTo == to) { CurrentLocation = to; return true; } else return false; }
public bool CanSeeDoorFrom(Location from) { return from is IHasExteriorDoor; }