aboutsummaryrefslogtreecommitdiff
path: root/game/menus/ButtonSetMainMenuSubScript.h
blob: 8891538f400a195a91d5f37cd5d42ae664b671ce (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 ButtonSetMainMenuSubScript : public IButtonScript {
public:
	void init() override;
	bool on_button_press(const crepe::ButtonPressEvent & e);

private:
	float velocity = 20;

protected:
	bool transition = false;
};