summaryrefslogtreecommitdiff
path: root/game/vehicles/railloco.h
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2021-02-14 14:19:21 +0000
committerDan Goodliffe <dan@randomdan.homeip.net>2021-02-14 14:19:21 +0000
commitc08e33649931b679b17488ba6f7dab1d628213fd (patch)
tree76382c1740e4605667dce2fc74f03034f0b34960 /game/vehicles/railloco.h
parentApply pitch to vehicles on a link (diff)
downloadilt-c08e33649931b679b17488ba6f7dab1d628213fd.tar.bz2
ilt-c08e33649931b679b17488ba6f7dab1d628213fd.tar.xz
ilt-c08e33649931b679b17488ba6f7dab1d628213fd.zip
Add our first vehicle
Diffstat (limited to 'game/vehicles/railloco.h')
-rw-r--r--game/vehicles/railloco.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/game/vehicles/railloco.h b/game/vehicles/railloco.h
new file mode 100644
index 0000000..05e3e48
--- /dev/null
+++ b/game/vehicles/railloco.h
@@ -0,0 +1,14 @@
+#include "game/worldobject.h"
+#include "vehicle.h"
+#include <string>
+
+class RailLoco : public Vehicle {
+public:
+ using Vehicle::Vehicle;
+ void tick(TickDuration elapsed) override;
+};
+
+class Brush47 : public RailLoco {
+public:
+ Brush47(LinkPtr p);
+};