2021-03-26 15:46:00 +01:00
|
|
|
from .mine import Mine
|
2021-05-23 20:20:02 +02:00
|
|
|
from objects.mines.disarming.hash_function import TypeHash
|
2021-03-26 15:46:00 +01:00
|
|
|
|
|
|
|
|
|
|
|
class TimeMine(Mine):
|
|
|
|
def __init__(self, position, timer, active=True):
|
|
|
|
self.type = "time"
|
|
|
|
self.timer = timer
|
2021-05-12 14:33:26 +02:00
|
|
|
self.starting_time = timer
|
2021-05-23 20:20:02 +02:00
|
|
|
super().__init__(TypeHash.TIME, position, active)
|
2021-03-26 15:46:00 +01:00
|
|
|
|
2021-05-23 20:20:02 +02:00
|
|
|
def disarm(self, wire):
|
|
|
|
return super().disarm(wire)
|
|
|
|
|
|
|
|
def investigate(self):
|
|
|
|
return super().investigate()
|