aboutsummaryrefslogtreecommitdiff
path: root/game/ForestParallaxScript.h
blob: a65a6846edfc4485698ab4e4976a54099cc7df40 (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 fixed_update(crepe::duration_t dt);

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