forked from s_ranjbar/city_retrofit
22 lines
436 B
Python
22 lines
436 B
Python
|
from city_model_structure.city_object import CityObject
|
||
|
|
||
|
|
||
|
class SubwayEntrance(CityObject):
|
||
|
def __init__(self, name, latitude, longitude):
|
||
|
super().__init__(0, [], name)
|
||
|
self._name = name
|
||
|
self._latitude = latitude
|
||
|
self._longitude = longitude
|
||
|
|
||
|
@property
|
||
|
def latitude(self):
|
||
|
return self._latitude
|
||
|
|
||
|
@property
|
||
|
def longitude(self):
|
||
|
return self._longitude
|
||
|
|
||
|
@property
|
||
|
def name(self):
|
||
|
return self._name
|