aboutsummaryrefslogtreecommitdiff
path: root/game/background/AquariumSubScene.h
blob: 9dbb04ec56aae4f008d80821690c102ade1d9a97 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#pragma once

#include <crepe/types.h>

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

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

private:
	void add_background(crepe::Scene & scn, float begin_x);
	void
	add_bubbles(crepe::GameObject & obj, crepe::vec2 offset, int order_in_layer, float scale);
};