summaryrefslogtreecommitdiff
path: root/game/vehicles/train.h
diff options
context:
space:
mode:
Diffstat (limited to 'game/vehicles/train.h')
-rw-r--r--game/vehicles/train.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/game/vehicles/train.h b/game/vehicles/train.h
index dfdcf62..91f7ddb 100644
--- a/game/vehicles/train.h
+++ b/game/vehicles/train.h
@@ -14,6 +14,7 @@
#include <vector>
class SceneShader;
+class ShadowMapper;
class Ray;
class Train : public Vehicle, public Collection<RailVehicle, false>, public Can<Go>, public Can<Idle> {
@@ -27,6 +28,7 @@ public:
}
void render(const SceneShader & shader) const override;
+ void shadows(const ShadowMapper & shadowMapper) const override;
[[nodiscard]] bool intersectRay(const Ray &, glm::vec2 *, float *) const override;