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:
4
fake.cpp
4
fake.cpp
@@ -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;
|
||||
|
Reference in New Issue
Block a user