We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8e46adf commit e543e1dCopy full SHA for e543e1d
bin/aagen
@@ -20,6 +20,7 @@ from aagen.generator import DungeonGenerator
20
from aagen.map import DungeonMap
21
from aagen.display import DungeonDisplay
22
from aagen.aajson import MapEncoder, map_from_dict
23
+from aagen.geometry import to_string
24
25
log = logging.getLogger('aagen')
26
@@ -137,6 +138,8 @@ def main():
137
138
(click_x, click_y) = dungeon_display.screen_to_map(event.pos)
139
object = dungeon_map.object_at((click_x, click_y))
140
print(object)
141
+ if args.verbose > 0 and hasattr(object, "polygon"):
142
+ print("Polygon: " + to_string(object.polygon))
143
144
log.info("Done!")
145
dungeon_generator.print_seed()
0 commit comments