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