From edd5fd83f4a5337ba06955bd59a136f7eb699234 Mon Sep 17 00:00:00 2001 From: max-001 Date: Thu, 19 Dec 2024 11:13:31 +0100 Subject: Moved ForestParallaxScript to seperate file --- src/example/ForestParallaxScript.h | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 src/example/ForestParallaxScript.h (limited to 'src/example/ForestParallaxScript.h') diff --git a/src/example/ForestParallaxScript.h b/src/example/ForestParallaxScript.h new file mode 100644 index 0000000..39b7ecb --- /dev/null +++ b/src/example/ForestParallaxScript.h @@ -0,0 +1,15 @@ +#pragma once + +#include + +class ForestParallaxScript : public crepe::Script { +public: + ForestParallaxScript(float begin_x, float end_x, std::string unique_bg_name); + + void update(); + +private: + const float begin_x; + const float end_x; + const std::string name; +}; -- cgit v1.2.3