diff --git a/field1.py b/field1.py new file mode 100644 index 0000000..6e3fdb8 --- /dev/null +++ b/field1.py @@ -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