diff options
Diffstat (limited to 'game/vehicles/railloco.h')
-rw-r--r-- | game/vehicles/railloco.h | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/game/vehicles/railloco.h b/game/vehicles/railloco.h index 833b661..ff8871b 100644 --- a/game/vehicles/railloco.h +++ b/game/vehicles/railloco.h @@ -1,11 +1,17 @@ #include "game/network/link.h" +#include "game/vehicles/vehicle.h" #include "game/worldobject.h" -#include "vehicle.h" #include <string> -class RailLoco : public Vehicle { +class RailVehicle : public Vehicle { public: using Vehicle::Vehicle; + float wheelBase; +}; + +class RailLoco : public RailVehicle { +public: + using RailVehicle::RailVehicle; void tick(TickDuration elapsed) override; }; |