Merge branch 'map_display' of gitlab.crans.org:ynerant/dungeon-battle into map_display
This commit is contained in:
commit
16121b55f6
|
@ -26,9 +26,6 @@ class Map:
|
||||||
width = len(lines[0])
|
width = len(lines[0])
|
||||||
return Map(width, height, lines, [])
|
return Map(width, height, lines, [])
|
||||||
|
|
||||||
def draw_string(self) -> str:
|
|
||||||
return "\n".join("".join(tile.char for tile in line) for line in self.tiles)
|
|
||||||
|
|
||||||
|
|
||||||
class Entity:
|
class Entity:
|
||||||
y: int
|
y: int
|
||||||
|
|
Loading…
Reference in New Issue