4 typedef struct Layer Layer;
12 Layer **layer_current;
15 int proto_rect_render(const ProtoRect *proto_rect,
17 int proto_rect_update(ProtoRect *proto_rect,
19 int proto_rect_event(ProtoRect *proto_rect,
20 const SDL_Event *event,
21 const Camera *camera);
22 int proto_rect_mouse_button(ProtoRect *proto_rect,
23 const SDL_MouseButtonEvent *event,
24 const Camera *camera);
25 int proto_rect_mouse_motion(ProtoRect *proto_rect,
26 const SDL_MouseMotionEvent *event,
27 const Camera *camera);
29 #endif // PROTO_RECT_H_