aboutsummaryrefslogtreecommitdiff
path: root/src/example/ForestParallaxScript.h
blob: 39b7ecb96579f3083cb90a1083c79b021734968e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#pragma once

#include <crepe/api/Script.h>

class ForestParallaxScript : public crepe::Script {
public:
	ForestParallaxScript(float begin_x, float end_x, std::string unique_bg_name);

	void update();

private:
	const float begin_x;
	const float end_x;
	const std::string name;
};