summaryrefslogtreecommitdiff
path: root/game/network/rail.h
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2022-10-25 18:49:19 +0100
committerDan Goodliffe <dan@randomdan.homeip.net>2022-10-28 02:10:47 +0100
commit37b135e59ba22cf9ace1141b9dd21d0819fe3d1d (patch)
tree1b24085262116f04c8869365e50f971af56f7d3d /game/network/rail.h
parentMove findDir into member function findNodeDirection (diff)
downloadilt-37b135e59ba22cf9ace1141b9dd21d0819fe3d1d.tar.bz2
ilt-37b135e59ba22cf9ace1141b9dd21d0819fe3d1d.tar.xz
ilt-37b135e59ba22cf9ace1141b9dd21d0819fe3d1d.zip
Implement extending a network into open space
Diffstat (limited to 'game/network/rail.h')
-rw-r--r--game/network/rail.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/game/network/rail.h b/game/network/rail.h
index b1a036e..6850463 100644
--- a/game/network/rail.h
+++ b/game/network/rail.h
@@ -17,12 +17,14 @@ struct Arc;
// A piece of rail track
class RailLinkStraight;
+class RailLinkCurve;
class RailLink : public virtual Link, public Renderable {
public:
RailLink() = default;
inline ~RailLink() override = 0;
using StraightLink = RailLinkStraight;
+ using CurveLink = RailLinkCurve;
void render(const Shader &) const override;
NO_COPY(RailLink);