1 #ifndef FIGURE_ROUTE_H
2 #define FIGURE_ROUTE_H
3 
4 #include "core/buffer.h"
5 #include "figure/figure.h"
6 
7 void figure_route_clear_all(void);
8 
9 void figure_route_clean(void);
10 
11 void figure_route_add(figure *f);
12 
13 void figure_route_remove(figure *f);
14 
15 int figure_route_get_direction(int path_id, int index);
16 
17 void figure_route_save_state(buffer *figures, buffer *paths);
18 
19 void figure_route_load_state(buffer *figures, buffer *paths);
20 
21 #endif // FIGURE_ROUTE_H
22