diff options
author | Loek Le Blansch <loek@pipeframe.xyz> | 2025-01-08 12:03:28 +0100 |
---|---|---|
committer | Loek Le Blansch <loek@pipeframe.xyz> | 2025-01-08 12:03:28 +0100 |
commit | c9c9702edc58ff8f40b13dc6b86b216421f79e9b (patch) | |
tree | 3f3e710735105cbbd63ebd4f320c88fbc0ecfa0c /game/background/AquariumScript.h | |
parent | 8055d401fc7c553a7036336b4b2fb2fca99a5986 (diff) | |
parent | b1e2df1e75e7fc8ea4c30b7deaa54a7acf02d951 (diff) |
Merge branch 'max/game2' of github.com:lonkaars/crepe
Diffstat (limited to 'game/background/AquariumScript.h')
-rw-r--r-- | game/background/AquariumScript.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/game/background/AquariumScript.h b/game/background/AquariumScript.h new file mode 100644 index 0000000..b068628 --- /dev/null +++ b/game/background/AquariumScript.h @@ -0,0 +1,12 @@ +#pragma once + +#include <crepe/api/Script.h> + +class AquariumScript : public crepe::Script { +public: + void fixed_update(crepe::duration_t dt); + +private: + float start_x = 10200; + const float lenght = 3000; +}; |