added name to entities

This commit is contained in:
eichhornchen 2020-11-06 16:05:01 +01:00
parent d43a1de2c3
commit 6bfb8c080c

View File

@ -68,6 +68,7 @@ class Tile(Enum):
class Entity:
x: int
y: int
name : str
def move(self, x: int, y: int) -> None:
self.x = x