blob: 81f941a87620fc5e3dd74213db68c91450a499cf (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
#pragma once
#include "../IButtonScript.h"
#include "../IFloatingWindowScript.h"
#include <crepe/api/Event.h>
#include <crepe/api/Script.h>
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);
};
|