#ifndef BALL_H #define BALL_H #include "object.h" #include "types.h" struct ball { struct object o; f32 radius; i32 stuck; i32 sticky; i32 pass; }; struct collision { i32 collide; direction_enum dir; v2 diff; }; void move_ball(struct ball *ball, f32 dt, i32 width); struct collision check_ball_collision(struct ball ball, struct object obj); #endif