add inheritance to constructor, add const defuse_method
This commit is contained in:
parent
9fd954c79b
commit
bd753f3e06
@ -2,4 +2,7 @@ from mine import Mine
|
|||||||
|
|
||||||
|
|
||||||
class APMine(Mine):
|
class APMine(Mine):
|
||||||
pass
|
defuse_method = 2
|
||||||
|
|
||||||
|
def __init__(self):
|
||||||
|
super().__init__()
|
||||||
|
@ -2,4 +2,7 @@ from mine import Mine
|
|||||||
|
|
||||||
|
|
||||||
class ATMine(Mine):
|
class ATMine(Mine):
|
||||||
pass
|
defuse_method = 1
|
||||||
|
|
||||||
|
def __init__(self):
|
||||||
|
super().__init__()
|
||||||
|
Loading…
Reference in New Issue
Block a user