public static GamePath GetPath() { if (_path == null) { _path = new GamePath(); } return(_path); }
private static List <Map> GetMapsForPath() { List <Map> maps = new List <Map>(); foreach (Map m in _maps) { if (GamePath.GetPath().IsMapDoable(m)) { maps.Add(m); } } return(maps); }
public static void Renew() { _path = null; }