1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2026-05-22 14:02:05 +00:00

backed-map:: access as a method

This commit is contained in:
Zeno Rogue
2026-04-18 19:02:03 +02:00
parent c7e18a7a1d
commit 97ca275b70
3 changed files with 6 additions and 0 deletions
+2
View File
@@ -577,6 +577,8 @@ struct hrmap_archimedean : hrmap {
heptagon *origin;
heptagon *getOrigin() override { return origin; }
backed_map* get_backmap() override { return &bm; }
hrmap_archimedean() {
dynamicval<hrmap*> curmap(currentmap, this);
int id = DUAL ? current.N * 2 : 0;;