Closed anderslogg closed 8 months ago
Should be dict on the type so we can do
city.children[Building]
to get the list of buildings for a city and similar for other objects.
Also add helper functions (properties) like
city.buildings city.num_buildings
which returns a an empty list of there is nothing in the dictionary.
Should be dict on the type so we can do
to get the list of buildings for a city and similar for other objects.
Also add helper functions (properties) like
which returns a an empty list of there is nothing in the dictionary.