An example of item

This commit is contained in:
Nicolas Margulies
2020-10-23 18:02:57 +02:00
parent 343e107b86
commit 2ba7330ff5
3 changed files with 23 additions and 2 deletions

View File

@ -72,6 +72,9 @@ class Entity:
def move(self, x: int, y: int) -> None:
self.x = x
self.y = y
def act(self, m:Map):
pass
class FightingEntity(Entity):
maxhealth: int