1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-09-01 18:27:55 +00:00

written createMov in an OOP way

This commit is contained in:
Zeno Rogue
2021-06-12 23:25:59 +02:00
parent b698c8a8a1
commit 8d18946450
5 changed files with 57 additions and 42 deletions

View File

@@ -63,6 +63,10 @@ EX namespace fake {
if(currentmap == u) currentmap = this;
}
void find_cell_connection(cell *c, int d) override {
FPIU(createMov(c, d));
}
hrmap_fake() {
in_underlying([this] { initcells(); underlying_map = currentmap; });
for(hrmap*& m: allmaps) if(m == underlying_map) m = NULL;