diff options
author | WBoerenkamps <wrj.boerenkamps@student.avans.nl> | 2025-01-08 12:43:54 +0100 |
---|---|---|
committer | WBoerenkamps <wrj.boerenkamps@student.avans.nl> | 2025-01-08 12:43:54 +0100 |
commit | 016b36b6d340be958bb047ca5f26dd54aa658c88 (patch) | |
tree | d5ea295632b4290cf2e5ef06e1b83e40a3e0c36c /game/enemy/BattleScript.h | |
parent | 9625b751757b8828b0edb0b7543c7cadfd25c119 (diff) |
battlescript battle won working
Diffstat (limited to 'game/enemy/BattleScript.h')
-rw-r--r-- | game/enemy/BattleScript.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/game/enemy/BattleScript.h b/game/enemy/BattleScript.h index d239e70..55ca166 100644 --- a/game/enemy/BattleScript.h +++ b/game/enemy/BattleScript.h @@ -14,6 +14,7 @@ class BattleScript : public crepe::Script{ void init() override; void fixed_update(crepe::duration_t dt) override; private: + bool battle_active = false; std::random_device rd; std::default_random_engine engine; bool create_battle(const BattleStartEvent& e); |