]> git.lizzy.rs Git - nothing.git/blob - src/game/level/background.h
(#639) Make rigid bodies interact with platforms
[nothing.git] / src / game / level / background.h
1 #ifndef BACKGROUND_H_
2 #define BACKGROUND_H_
3
4 #include <SDL2/SDL.h>
5
6 #include "color.h"
7 #include "game/camera.h"
8
9 typedef struct Background Background;
10 typedef struct LineStream LineStream;
11
12 Background *create_background(Color base_color);
13 Background *create_background_from_line_stream(LineStream *line_stream);
14 void destroy_background(Background *background);
15
16 int background_render(const Background *background,
17                       Camera *camera);
18
19 void background_toggle_debug_mode(Background *background);
20
21 #endif  // BACKGROUND_H_