aboutsummaryrefslogtreecommitdiff
path: root/src/example/Start.h
blob: 24e0dbfa226cdf36cadf14618c01d566ddf8ebd8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#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);
	void create_wall_fragments(crepe::Scene & scn, float begin_x);
};