summaryrefslogtreecommitdiff
path: root/entities/location.py
blob: cd1ca01d9188aee47a3066ec89520b5018b6bbe8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
from entities.basic_entity import BasicEntity


class Location(BasicEntity):
    def __init__(self, name, types_of_place, name_in_langs):
        self.name = name
        self.types_of_place = types_of_place
        self.name_in_langs = name_in_langs

    def print_entity(self):
        print("Name = " + self.name)
        print("Name in langs = " + str(self.name_in_langs))
        print("Types = " + str(self.types_of_place))