aboutsummaryrefslogtreecommitdiff
path: root/game/menus/ButtonReplaySubScript.h
blob: 7e63d06f67af311b0fe243eee362b44ad2356d6d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#pragma once

#include "IButtonScript.h"

#include <crepe/api/Script.h>

class ButtonReplaySubScript : public IButtonScript {
public:
	void init() override;
	bool on_button_press(const crepe::ButtonPressEvent & e);
private:
	crepe::recording_t recording = 0;
	bool set_recording();

protected:
	bool transition = false;
};