Пример #1
0
 public Criteria()
 {
     Gap          = false;
     Stairs       = false;
     Rail         = false;
     Ledge        = false;
     Handrail     = false;
     Corners      = false;
     Manualpad    = false;
     Wallride     = false;
     Downhill     = false;
     OpenYourMind = false;
     Pyramid      = false;
     Curb         = false;
     Bank         = false;
     Bowl         = false;
     Location     = new CityLocation();
     Type         = new List <PlaceType>();
     Distance     = 15;
 }
Пример #2
0
 public Criteria(
     List <PlaceType> type,
     CityLocation location,
     int distance,
     bool gap,
     bool stairs,
     bool rail,
     bool ledge,
     bool handrail,
     bool corners,
     bool manualpad,
     bool wallride,
     bool downhill,
     bool openYourMind,
     bool pyramid,
     bool curb,
     bool bank,
     bool bowl,
     bool hubba)
 {
     Type         = type;
     Location     = location;
     Distance     = distance;
     Gap          = gap;
     Stairs       = stairs;
     Rail         = rail;
     Ledge        = ledge;
     Handrail     = handrail;
     Corners      = corners;
     Manualpad    = manualpad;
     Wallride     = wallride;
     Downhill     = downhill;
     OpenYourMind = openYourMind;
     Pyramid      = pyramid;
     Curb         = curb;
     Bank         = bank;
     Bowl         = bowl;
     Hubba        = hubba;
 }
Пример #3
0
 public Criteria(List <PlaceType> type, CityLocation location, int distance)
 {
     Type     = type;
     Location = location;
     Distance = distance;
 }