All
PlayableLocation
objects have a types
property. It holds details about the place that a curated playable location
represents, or the locale that a generated playable location is situated within.
The types
property is implemented as an array of strings in which
each entry provides progressively finer details that describe the location, with
the first entry in the array representing the primary type.
The range of types includes geographic feature types (for example, Amusement Park, Town Square, and Zoo), and structure types (such as Hospital and Stadium). For example, a generated playable location located along a trail within a park would have a primary type of Road, and a secondary type of Park.
Valid types
The following table lists the set of valid playable location types in alphabetical order.
Primary Type | Secondary Type | |||||||||
---|---|---|---|---|---|---|---|---|---|---|
airport | ||||||||||
amusement | ||||||||||
arts | ||||||||||
atm | ||||||||||
bank | ||||||||||
bar | ||||||||||
beach | ||||||||||
boating | ||||||||||
bridge | ||||||||||
cafe | ||||||||||
campground | ||||||||||
car_rental | ||||||||||
casino | ||||||||||
cemetery | ||||||||||
embassy | ||||||||||
event_space | ||||||||||
farm | ||||||||||
fire_station | ||||||||||
fishing | ||||||||||
garden | ||||||||||
gas_station | ||||||||||
golf_course | ||||||||||
government | ||||||||||
grocery_store | ||||||||||
historic | ||||||||||
hospital | ||||||||||
hot_spring | ||||||||||
indoor | ||||||||||
industrial | ||||||||||
library | ||||||||||
lighthouse | ||||||||||
lodging | ||||||||||
military | ||||||||||
movie | ||||||||||
museum | ||||||||||
park | ||||||||||
parking_lot | ||||||||||
pharmacy | ||||||||||
place_of_worship |
|
|||||||||
police_station | ||||||||||
post_office | ||||||||||
restaurant | ||||||||||
restroom | ||||||||||
rest_stop | ||||||||||
road | ||||||||||
school | ||||||||||
shopping | ||||||||||
sports | ||||||||||
stadium | ||||||||||
tourist_attraction | ||||||||||
town_square | ||||||||||
trailhead | ||||||||||
transit | ||||||||||
university | ||||||||||
winery | ||||||||||
zoo |