Beaver is a tiger
This commit is contained in:
@ -52,13 +52,13 @@ class Monster(FightingEntity):
|
||||
break
|
||||
|
||||
|
||||
class Beaver(Monster):
|
||||
class Tiger(Monster):
|
||||
"""
|
||||
A beaver monster
|
||||
A tiger monster
|
||||
"""
|
||||
def __init__(self, strength: int = 2, maxhealth: int = 20,
|
||||
*args, **kwargs) -> None:
|
||||
super().__init__(name="beaver", strength=strength,
|
||||
super().__init__(name="tiger", strength=strength,
|
||||
maxhealth=maxhealth, *args, **kwargs)
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user