def __init__(self): """Initializes a Warehouse with basic logic as provided by the Creer code generator.""" Building.__init__(self) # private attributes to hold the properties so they appear read only self._exposure = 0 self._fire_added = 0
def __init__(self): """ initializes a PoliceDepartment with basic logic as provided by the Creer code generator """ Building.__init__(self) # turns to death self._firethreshold = 2
def __init__(self): """Initializes a FireDepartment with basic logic as provided by the Creer code generator. """ Building.__init__(self) # private attributes to hold the properties so they appear read only self._fire_extinguished = 0
def __init__(self): """Initializes a PoliceDepartment with basic logic as provided by the Creer code generator.""" Building.__init__(self)
def __init__(self): """Initializes a WeatherStation with basic logic as provided by the Creer code generator.""" Building.__init__(self)
def __init__(self): """Initializes a FireDepartment with basic logic as provided by the Creer code generator.""" Building.__init__(self) # private attributes to hold the properties so they appear read only self._fire_extinguished = 0