Initial commit for lod branch

This commit is contained in:
Guille Gutierrez 2022-11-25 14:45:03 -05:00
parent 3be8de5cd1
commit de2a319727

View File

@ -131,6 +131,9 @@ class Building(CityObject):
def attic_heated(self) -> Union[None, int]: def attic_heated(self) -> Union[None, int]:
""" """
Get if the city object attic is heated Get if the city object attic is heated
0: no attic in the building
1: attic exists but is not heated
2: attic exists and is heated
:return: None or int :return: None or int
""" """
return self._attic_heated return self._attic_heated
@ -139,6 +142,9 @@ class Building(CityObject):
def attic_heated(self, value): def attic_heated(self, value):
""" """
Set if the city object attic is heated Set if the city object attic is heated
0: no attic in the building
1: attic exists but is not heated
2: attic exists and is heated
:param value: int :param value: int
""" """
if value is not None: if value is not None:
@ -148,6 +154,9 @@ class Building(CityObject):
def basement_heated(self) -> Union[None, int]: def basement_heated(self) -> Union[None, int]:
""" """
Get if the city object basement is heated Get if the city object basement is heated
0: no basement in the building
1: basement exists but is not heated
2: basement exists and is heated
:return: None or int :return: None or int
""" """
return self._basement_heated return self._basement_heated
@ -156,6 +165,9 @@ class Building(CityObject):
def basement_heated(self, value): def basement_heated(self, value):
""" """
Set if the city object basement is heated Set if the city object basement is heated
0: no basement in the building
1: basement exists but is not heated
2: basement exists and is heated
:param value: int :param value: int
""" """
if value is not None: if value is not None: