Monsters are hedgehogs 🦔
This commit is contained in:
@ -17,6 +17,7 @@ class Item(Entity):
|
||||
|
||||
|
||||
class Bomb(Item):
|
||||
name = "bomb"
|
||||
damage: int = 5
|
||||
exploding: bool
|
||||
|
||||
|
@ -6,6 +6,7 @@ class Monster(FightingEntity):
|
||||
pass
|
||||
|
||||
|
||||
class Squirrel(Monster):
|
||||
class Hedgehog(Monster):
|
||||
name = "hedgehog"
|
||||
maxhealth = 10
|
||||
strength = 3
|
||||
|
@ -2,6 +2,7 @@ from ..interfaces import FightingEntity
|
||||
|
||||
|
||||
class Player(FightingEntity):
|
||||
name = "player"
|
||||
maxhealth: int = 20
|
||||
strength: int = 5
|
||||
intelligence: int = 1
|
||||
|
Reference in New Issue
Block a user