diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2022-10-08 15:51:19 +0100 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2022-10-08 15:51:19 +0100 |
commit | 6aba7c7dd1d6bcc1ddb4a5acb61ec0850c420824 (patch) | |
tree | 79e1bed8444b636326e169fa93d761e17ed3ed20 /game/network/rail.h | |
parent | Split network intersect ray functions and return specific types (diff) | |
download | ilt-6aba7c7dd1d6bcc1ddb4a5acb61ec0850c420824.tar.bz2 ilt-6aba7c7dd1d6bcc1ddb4a5acb61ec0850c420824.tar.xz ilt-6aba7c7dd1d6bcc1ddb4a5acb61ec0850c420824.zip |
Add addStright to Network which looks up StraightLink in the network type
Diffstat (limited to 'game/network/rail.h')
-rw-r--r-- | game/network/rail.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/game/network/rail.h b/game/network/rail.h index 758beb6..c1cb579 100644 --- a/game/network/rail.h +++ b/game/network/rail.h @@ -16,10 +16,14 @@ class Vertex; struct Arc; // A piece of rail track +class RailLinkStraight; class RailLink : public virtual Link, public Renderable { public: RailLink() = default; inline ~RailLink() override = 0; + + using StraightLink = RailLinkStraight; + void render(const Shader &) const override; NO_COPY(RailLink); NO_MOVE(RailLink); |