From 016b36b6d340be958bb047ca5f26dd54aa658c88 Mon Sep 17 00:00:00 2001 From: WBoerenkamps Date: Wed, 8 Jan 2025 12:43:54 +0100 Subject: battlescript battle won working --- game/enemy/BattleScript.h | 1 + 1 file changed, 1 insertion(+) (limited to 'game/enemy/BattleScript.h') 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); -- cgit v1.2.3