aboutsummaryrefslogtreecommitdiff
path: root/game/scheduler/ObjectsScheduler.h
diff options
context:
space:
mode:
authorheavydemon21 <nielsstunnebrink1@gmail.com>2025-01-08 15:13:08 +0100
committerheavydemon21 <nielsstunnebrink1@gmail.com>2025-01-08 15:13:08 +0100
commit17a587ee6ded6d51c678fcd89bf0d28dc60db43d (patch)
treebcf8685ac2f133878db070beb3b20c6b4a8dba31 /game/scheduler/ObjectsScheduler.h
parent714c8798dd0998ea15b1ba697962a97c586457fe (diff)
added boss fight, did not work
Diffstat (limited to 'game/scheduler/ObjectsScheduler.h')
-rw-r--r--game/scheduler/ObjectsScheduler.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/game/scheduler/ObjectsScheduler.h b/game/scheduler/ObjectsScheduler.h
index 7bc9337..1bd0940 100644
--- a/game/scheduler/ObjectsScheduler.h
+++ b/game/scheduler/ObjectsScheduler.h
@@ -15,11 +15,11 @@ private:
int last_boss_check = 0;
int last_obstacle_check = 0;
- int boss_fight_interval = 2500;
- int obstacle_interval = 300;
+ int boss_fight_interval = 1000;
+ int obstacle_interval = 3000;
int start_offset = 1300;
-
+private:
void preset_0();
void preset_1();
void preset_2();
@@ -27,6 +27,8 @@ private:
void preset_4();
void boss_fight_1();
+ bool boss_fight_1_event();
+
public:
void init();
void fixed_update(crepe::duration_t dt);