squirrel-battle/dungeonbattle/entities/player.py
Nicolas Margulies 7c1c427892 Deleted unwanted code in Player
It isn't the player's role to check whether they can move to a tile,
check it beforehands and use the move method from its Entity superclass.
2020-10-23 16:17:48 +02:00

6 lines
107 B
Python

from ..interfaces import FightingEntity
class Player(FightingEntity):
maxhealth = 20
strength = 5