AI_PRO/Main/Field.py

14 lines
317 B
Python
Raw Normal View History

2021-03-28 22:42:36 +02:00
class Field:
2021-03-29 00:40:43 +02:00
def __init__(self, __horizontal, __vertical, __state):
self.horizontal = __horizontal
self.vertical = __vertical
self.__state = __state
@property
def state(self):
return self.__state
@state.setter
def state(self, state):
self.__state = state