1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-09-06 20:37:56 +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

@@ -148,6 +148,10 @@ struct hrmap_kite : hrmap {
heptagon *getOrigin() override { return origin; }
void find_cell_connection(cell *c, int d) override {
kite::find_cell_connection(c, d);
}
heptagon *newtile(pshape s, int dist) {
heptagon *h = tailored_alloc<heptagon> (8);
h->s = hstate(s);