From 93aa94921e027e05d7cb9908305af225c64b1ff2 Mon Sep 17 00:00:00 2001 From: Max-001 Date: Wed, 8 Jan 2025 09:03:30 +0100 Subject: Make format --- game/menus/endgame/EndGameSubScript.cpp | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) (limited to 'game/menus/endgame/EndGameSubScript.cpp') diff --git a/game/menus/endgame/EndGameSubScript.cpp b/game/menus/endgame/EndGameSubScript.cpp index 2204df0..f120e2d 100644 --- a/game/menus/endgame/EndGameSubScript.cpp +++ b/game/menus/endgame/EndGameSubScript.cpp @@ -1,7 +1,7 @@ #include "EndGameSubScript.h" -#include "../IFloatingWindowScript.h" #include "../../Events.h" +#include "../IFloatingWindowScript.h" #include @@ -12,43 +12,43 @@ using namespace crepe; -EndGameSubScript::EndGameSubScript(const std::string & tag){ - this->tag = tag; -} +EndGameSubScript::EndGameSubScript(const std::string & tag) { this->tag = tag; } -void EndGameSubScript::init(){ +void EndGameSubScript::init() { this->disable_all(); this->subscribe([this](const EndGameEvent e) { return this->enable_all(); }); - this->subscribe([this](const EndGameEvent e) { return this->reset_timescale(); }); + this->subscribe([this](const EndGameEvent e) { + return this->reset_timescale(); + }); } -bool EndGameSubScript::disable_all(){ +bool EndGameSubScript::disable_all() { IFloatingWindowScript::disable_all_sprites(); RefVector