blob: e88a860caddac125ddd49915cf45f1f3216bc0df (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
#pragma once
#include "api/Script.h"
class CoinScript : public crepe::Script {
public:
void init() override;
bool on_collision(const crepe::CollisionEvent & collisionData);
bool save();
private:
int amount = 0;
};
|