Projekt_Sztuczna_Inteligencja/tile.py

11 lines
219 B
Python
Raw Normal View History

2021-03-12 21:24:04 +01:00
import mine as mn
2021-03-12 11:49:19 +01:00
class Tile:
def __init__(self, position, color=None, mine=None):
self.position = position
self.color = color
2021-03-12 21:24:04 +01:00
# mine is an instance of Mine class
2021-03-12 11:49:19 +01:00
self.mine = mine