]> git.lizzy.rs Git - nothing.git/blob - src/game/level/regions.h
(#394) region -> regions
[nothing.git] / src / game / level / regions.h
1 #ifndef REGIONS_H_
2 #define REGIONS_H_
3
4 #include "math/rect.h"
5
6 typedef struct Regions Regions;
7 typedef struct Player Player;
8 typedef struct LineStream LineStream;
9
10 Regions *create_regions(Rect rect, const char *script_src);
11 Regions *create_regions_from_stream(LineStream *line_stream);
12 void destroy_regions(Regions *regions);
13
14 void regions_player_enter(Regions *regions, Player *player);
15 void regions_player_leave(Regions *regions, Player *player);
16
17 #endif  // REGIONS_H_