Monsters are hedgehogs 🦔

This commit is contained in:
Yohann D'ANELLO
2020-11-10 21:47:36 +01:00
parent 3f374d2558
commit 3f4c809db6
8 changed files with 24 additions and 15 deletions

View File

@ -17,6 +17,7 @@ class Item(Entity):
class Bomb(Item):
name = "bomb"
damage: int = 5
exploding: bool

View File

@ -6,6 +6,7 @@ class Monster(FightingEntity):
pass
class Squirrel(Monster):
class Hedgehog(Monster):
name = "hedgehog"
maxhealth = 10
strength = 3

View File

@ -2,6 +2,7 @@ from ..interfaces import FightingEntity
class Player(FightingEntity):
name = "player"
maxhealth: int = 20
strength: int = 5
intelligence: int = 1