aboutsummaryrefslogtreecommitdiff
path: root/game/background/StartSubScene.h
blob: c83e3d5f30a0db193b978353a10650cd8bba4f1a (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 StartSubScene {
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);
};