aboutsummaryrefslogtreecommitdiff
path: root/game/HallwaySubScene.h
blob: acc9329b359054c2552d85f20741f24d732ec5ef (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#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);
};