Projekt_Sztuczna_Inteligencja/tile.py
2021-03-14 19:18:23 +01:00

8 lines
199 B
Python

class Tile:
def __init__(self, position, color=None, mine=None):
self.position = position
self.color = color
# mine is an instance of Mine class
self.mine = mine