mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2026-05-21 21:42:07 +00:00
rewritten shvid using OOP
This commit is contained in:
@@ -801,6 +801,10 @@ struct hrmap_arbi : hrmap {
|
||||
transmatrix adj(cell *c, int dir) override { return adj(c->master, dir); }
|
||||
|
||||
ld spin_angle(cell *c, int d) override { return SPIN_NOT_AVAILABLE; }
|
||||
|
||||
int shvid(cell *c) override {
|
||||
return id_of(c->master);
|
||||
}
|
||||
};
|
||||
|
||||
EX hrmap *new_map() { return new hrmap_arbi; }
|
||||
|
||||
Reference in New Issue
Block a user