#pragma once #include "../IFloatingWindowScript.h" #include "../IButtonScript.h" #include #include struct ShowCreditsEvent : public crepe::Event {}; class CreditsSubScript : public IFloatingWindowScript, public IButtonScript { public: CreditsSubScript(const std::string & tag); void init() override; bool disable_all(); bool enable_all(); bool on_button_press(const crepe::ButtonPressEvent & e); };