added name to entities
This commit is contained in:
parent
d43a1de2c3
commit
6bfb8c080c
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue