11 lines
219 B
Python
11 lines
219 B
Python
import mine as mn
|
|
|
|
|
|
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
|