7c1c427892
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.
6 lines
107 B
Python
6 lines
107 B
Python
from ..interfaces import FightingEntity
|
|
|
|
class Player(FightingEntity):
|
|
maxhealth = 20
|
|
strength = 5
|