14 lines
377 B
Python
14 lines
377 B
Python
|
class Tile:
|
||
|
def init(self, type, rowPosition, colPosition, status, isChecked):
|
||
|
self.type = type
|
||
|
self.rowPosition = rowPosition
|
||
|
self.colPosition = colPosition
|
||
|
self.status = status
|
||
|
self.isChecked = False
|
||
|
|
||
|
def isAvaibleForHarvest(self, type):
|
||
|
self.type = type
|
||
|
|
||
|
def checkTile(self):
|
||
|
self.isChecked = True
|