mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-10-28 04:17:39 +00:00
ru:: platforms can have multiple types
This commit is contained in:
@@ -305,7 +305,9 @@ extern man m;
|
||||
struct moving_platform : public entity {
|
||||
xy ctr;
|
||||
ld radius, shift;
|
||||
xy siz() override { return {36, 12}; }
|
||||
virtual int width() { return 3; }
|
||||
virtual eWall platform_type() { return wWall; }
|
||||
xy siz() override { return {12.*width(), 12}; }
|
||||
string glyph() override { return "#"; }
|
||||
color_t color() override { return 0xFFFFFFFF; }
|
||||
virtual xy location_at(ld t) = 0;
|
||||
|
||||
Reference in New Issue
Block a user