aboutsummaryrefslogtreecommitdiff
path: root/game/menus/ButtonReplaySubScript.h
blob: bfc684d59fd15bc2b3bb9af876c8d3e2a3d5f913 (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 <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;
};