added name to entities
This commit is contained in:
		@@ -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
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user