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

#include "IButtonScript.h"

#include <crepe/api/Script.h>

class ButtonSetMainMenuScript : public IButtonScript {
public:
	void init() override;
	bool on_button_press(const crepe::ButtonPressEvent& e);
private:
	float velocity = 20;
protected:
	bool transition = false;
};