aboutsummaryrefslogtreecommitdiff
path: root/game/menus/ButtonSetMainMenuScript.h
blob: 44c21aa4b9a6997f4128c0b66e6e2b45dc37957b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#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;
};