2021-03-27 22:07:55 +01:00
|
|
|
class Bomb:
|
|
|
|
|
2021-05-18 00:21:14 +02:00
|
|
|
def __init__(self, detonationDuration, bombType, detonationArea, size, isDefusable):
|
|
|
|
self.detonationDuration = detonationDuration
|
2021-03-27 22:07:55 +01:00
|
|
|
self.bombType = bombType
|
2021-05-18 00:21:14 +02:00
|
|
|
self.isDefusable = isDefusable
|
|
|
|
self.detonationArea = detonationArea
|
|
|
|
self.size = size
|
2021-03-30 21:01:54 +02:00
|
|
|
self.isDefused = False
|
2021-05-18 00:21:14 +02:00
|
|
|
|
|
|
|
|
|
|
|
def getBombType(self):
|
|
|
|
return self.bombType
|
|
|
|
|
|
|
|
def getDetonationDuration(self):
|
|
|
|
return self.detonationDuration
|
|
|
|
|
|
|
|
def getDefusable(self):
|
|
|
|
return self.isDefusable
|
|
|
|
|
|
|
|
def getSize(self):
|
|
|
|
return self.size
|
|
|
|
|
|
|
|
def getDetonationArea(self):
|
|
|
|
return self.detonationArea
|
|
|
|
|