aboutsummaryrefslogtreecommitdiff
path: root/game/background/ForestParallaxScript.h
diff options
context:
space:
mode:
authorWBoerenkamps <wrj.boerenkamps@student.avans.nl>2025-01-08 12:17:36 +0100
committerWBoerenkamps <wrj.boerenkamps@student.avans.nl>2025-01-08 12:17:36 +0100
commitdc5d46426b30303843e8746d514db6f55ce1495b (patch)
tree2b01a358b3daa4f55e54ca2c87f58becf83edeb8 /game/background/ForestParallaxScript.h
parent1a5744a3285a5ba5132fb4f6f031c27df1b64d33 (diff)
parentc9c9702edc58ff8f40b13dc6b86b216421f79e9b (diff)
Merge branch 'master' of https://github.com/lonkaars/crepe into wouter/enemyAI
Diffstat (limited to 'game/background/ForestParallaxScript.h')
-rw-r--r--game/background/ForestParallaxScript.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/game/background/ForestParallaxScript.h b/game/background/ForestParallaxScript.h
index a65a684..d45fdd9 100644
--- a/game/background/ForestParallaxScript.h
+++ b/game/background/ForestParallaxScript.h
@@ -9,7 +9,9 @@ public:
void fixed_update(crepe::duration_t dt);
private:
- const float begin_x;
- const float end_x;
+ float begin_x;
+ float end_x;
const std::string name;
+ float start_x = 4200;
+ const float lenght = 3000;
};