blob: 434abc0688122fda544afbcef7c1f13a975e0201 (
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 ButtonSetShopScript : public IButtonScript {
public:
	void init() override;
	bool on_button_press(const crepe::ButtonPressEvent& e);
private:
	float velocity = 20;
protected:
	bool transition = false;
};
 
  |