diff options
author | Loek Le Blansch <loek@pipeframe.xyz> | 2024-12-20 12:52:15 +0100 |
---|---|---|
committer | Loek Le Blansch <loek@pipeframe.xyz> | 2024-12-20 12:52:15 +0100 |
commit | 6570bf598a3b3768fe34827529df5ea0b4b26f0e (patch) | |
tree | 863f6520fd13017dffa5e01ce6b0f60770b4c505 /game/ForestParallaxScript.h | |
parent | 43c6971591aaff8ada4adc1b1b4146b19d43f8e9 (diff) |
move game files
Diffstat (limited to 'game/ForestParallaxScript.h')
-rw-r--r-- | game/ForestParallaxScript.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/game/ForestParallaxScript.h b/game/ForestParallaxScript.h new file mode 100644 index 0000000..a65a684 --- /dev/null +++ b/game/ForestParallaxScript.h @@ -0,0 +1,15 @@ +#pragma once + +#include <crepe/api/Script.h> + +class ForestParallaxScript : public crepe::Script { +public: + ForestParallaxScript(float begin_x, float end_x, std::string unique_bg_name); + + void fixed_update(crepe::duration_t dt); + +private: + const float begin_x; + const float end_x; + const std::string name; +}; |