aboutsummaryrefslogtreecommitdiff
path: root/src/example/Start.h
blob: 94a34bb4a1a723b28a384e8f08f81ec676651de7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#pragma once

#include <crepe/types.h>

namespace crepe {
class Scene;
class GameObject;
} // namespace crepe

class Start {
public:
	float create(crepe::Scene & scn, float begin_x);

private:
	void add_lamp(crepe::GameObject & obj, crepe::vec2 offset, unsigned int fps = 10);
	void add_table(crepe::GameObject & obj, crepe::vec2 offset);
	void add_light(crepe::GameObject & obj, crepe::vec2 offset);
	void add_jetpack_stand(crepe::GameObject & obj, crepe::vec2 offset);
};