Projekt_Sztuczna_Inteligencja/objects/mines/mine_models/time_mine.py

17 lines
437 B
Python

from .mine import Mine
from objects.mines.disarming.hash_function import TypeHash
class TimeMine(Mine):
def __init__(self, position, timer, active=True):
self.type = "time"
self.timer = timer
self.starting_time = timer
super().__init__(TypeHash.TIME, position, active)
def disarm(self, wire):
return super().disarm(wire)
def investigate(self):
return super().investigate()