summaryrefslogtreecommitdiff
path: root/game/scenary/plant.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'game/scenary/plant.cpp')
-rw-r--r--game/scenary/plant.cpp13
1 files changed, 13 insertions, 0 deletions
diff --git a/game/scenary/plant.cpp b/game/scenary/plant.cpp
new file mode 100644
index 0000000..2b01bee
--- /dev/null
+++ b/game/scenary/plant.cpp
@@ -0,0 +1,13 @@
+#include "plant.h"
+
+void
+Plant::render(const SceneShader & shader) const
+{
+ type->render(shader, position);
+}
+
+void
+Plant::shadows(const ShadowMapper & mapper) const
+{
+ type->shadows(mapper, position);
+}