]> git.lizzy.rs Git - nothing.git/blob - src/game/level/labels.h
Merge pull request #621 from tsoding/615
[nothing.git] / src / game / level / labels.h
1 #ifndef LABELS_H_
2 #define LABELS_H_
3
4 #include "math/point.h"
5 #include "color.h"
6
7 typedef struct Labels Labels;
8 typedef struct Camera Camera;
9 typedef struct LineStream LineStream;
10
11 Labels *create_labels_from_line_stream(LineStream *line_stream);
12 void destroy_labels(Labels *label);
13
14 int labels_render(const Labels *label,
15                   Camera *camera);
16 void labels_update(Labels *label,
17                    float delta_time);
18 void labels_enter_camera_event(Labels *label,
19                                const Camera *camera);
20
21 void labels_hide(Labels *labels,
22                  const char *label_id);
23
24 #endif  // LABELS_H_