summaryrefslogtreecommitdiff
path: root/game/network/rail.h
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2022-10-13 20:27:46 +0100
committerDan Goodliffe <dan@randomdan.homeip.net>2022-10-13 20:27:46 +0100
commitfab2d34959c52383f6be3cb6634c6776b41f62a8 (patch)
treecbf8f4b717d50af882689b5e012c2e3737f44077 /game/network/rail.h
parentInheritable of standard typedefs (diff)
downloadilt-fab2d34959c52383f6be3cb6634c6776b41f62a8.tar.bz2
ilt-fab2d34959c52383f6be3cb6634c6776b41f62a8.tar.xz
ilt-fab2d34959c52383f6be3cb6634c6776b41f62a8.zip
Standard typedefs for Node
Diffstat (limited to 'game/network/rail.h')
-rw-r--r--game/network/rail.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/game/network/rail.h b/game/network/rail.h
index c1cb579..78d4a86 100644
--- a/game/network/rail.h
+++ b/game/network/rail.h
@@ -38,18 +38,18 @@ RailLink::~RailLink() = default;
class RailLinkStraight : public RailLink, public LinkStraight {
public:
- RailLinkStraight(const NodePtr &, const NodePtr &);
+ RailLinkStraight(const Node::Ptr &, const Node::Ptr &);
private:
- RailLinkStraight(NodePtr, NodePtr, const glm::vec3 & diff);
+ RailLinkStraight(Node::Ptr, Node::Ptr, const glm::vec3 & diff);
};
class RailLinkCurve : public RailLink, public LinkCurve {
public:
- RailLinkCurve(const NodePtr &, const NodePtr &, glm::vec2);
+ RailLinkCurve(const Node::Ptr &, const Node::Ptr &, glm::vec2);
private:
- RailLinkCurve(const NodePtr &, const NodePtr &, glm::vec3, const Arc);
+ RailLinkCurve(const Node::Ptr &, const Node::Ptr &, glm::vec3, const Arc);
};
class RailLinks : public NetworkOf<RailLink>, public WorldObject {