Add field class #11

Merged
s459307 merged 1 commits from fieldClass into master 2022-03-25 04:25:51 +01:00

13
field1.py Normal file
View File

@ -0,0 +1,13 @@
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