2020-04-03 20:42:23 +02:00
|
|
|
# TILE
|
|
|
|
class Tile:
|
2020-04-06 22:10:21 +02:00
|
|
|
def __init__(self, type_):
|
2020-04-03 20:42:23 +02:00
|
|
|
self.type = type_
|
2020-04-06 22:10:21 +02:00
|
|
|
|
|
|
|
if self.type == 'wall':
|
|
|
|
self.watch_through = 0
|
|
|
|
self.walk_through = 0
|
|
|
|
elif self.type == 'table' or self.type == 'bar' or self.type == 'chair':
|
|
|
|
self.watch_through = 1
|
|
|
|
self.walk_through = 0
|
|
|
|
else:
|
|
|
|
self.walk_through = 1
|
|
|
|
self.watch_through = 1
|
|
|
|
|
|
|
|
self.action_required = 0
|
|
|
|
|