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