aboutsummaryrefslogtreecommitdiff
path: root/game/background/ForestParallaxScript.h
diff options
context:
space:
mode:
authorMax-001 <maxsmits21@kpnmail.nl>2025-01-08 11:51:22 +0100
committerMax-001 <maxsmits21@kpnmail.nl>2025-01-08 11:51:22 +0100
commitd9bde56d64ec9154d99425015ca1f9d5ce1ebb0f (patch)
tree495b178b44aa783d8b44b22b67938a10effdc2a6 /game/background/ForestParallaxScript.h
parent8fc12804f7f0203564cd6352cf47da13a4f46641 (diff)
Made background forest
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;
};