14 lines
389 B
Python
14 lines
389 B
Python
class Tile:
|
|
def init(self, type, row_position, col_position, status, is_checked):
|
|
self.type = type
|
|
self.row_position = row_position
|
|
self.col_position = col_position
|
|
self.status = status
|
|
self.is_checked = False
|
|
|
|
def is_avaible_for_harvest(self, type):
|
|
self.type = type
|
|
|
|
def check_tile(self):
|
|
self.isChecked = True
|