Projekt_Sztuczna_Inteligencja/mine.py

8 lines
214 B
Python

class Mine:
def __init__(self, position, mine_type, active=True):
self.position = position
self.mine_type = mine_type
self.active = active
# more to be added later (e.g. disarming)