added name to entities
This commit is contained in:
parent
d43a1de2c3
commit
6bfb8c080c
|
@ -68,6 +68,7 @@ class Tile(Enum):
|
||||||
class Entity:
|
class Entity:
|
||||||
x: int
|
x: int
|
||||||
y: int
|
y: int
|
||||||
|
name : str
|
||||||
|
|
||||||
def move(self, x: int, y: int) -> None:
|
def move(self, x: int, y: int) -> None:
|
||||||
self.x = x
|
self.x = x
|
||||||
|
|
Loading…
Reference in New Issue