aboutsummaryrefslogtreecommitdiff
path: root/game/background/HallwaySubScene.h
blob: c38b4a98405410ff8eca5b2cb234cf6248d0e405 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#pragma once

#include <crepe/types.h>

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

class HallwaySubScene {
public:
	float create(
		crepe::Scene & scn, float begin_x, unsigned int sector_num, crepe::Color sector_color
	);

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

	void add_sector_number(
		crepe::GameObject & obj, crepe::vec2 offset, unsigned int sector_num,
		crepe::Color sector_color
	);
};