#include "EndGameSubScript.h" #include "../../Events.h" #include "../IFloatingWindowScript.h" #include #include #include #include #include using namespace crepe; EndGameSubScript::EndGameSubScript(const std::string & tag) { this->tag = tag; } 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(); }); } bool EndGameSubScript::disable_all() { IFloatingWindowScript::disable_all_sprites(); RefVector