initialize ball and bouncer

This commit is contained in:
Quinn
2024-06-10 14:40:53 +02:00
parent d4f51ee3d1
commit 73260f736e
4 changed files with 37 additions and 16 deletions

11
level.h
View File

@@ -8,8 +8,15 @@ typedef struct {
} Position;
typedef struct {
Position ball_pos;
Position bouncer_pos;
struct {
unsigned radius;
Position pos;
} ball;
struct {
unsigned width;
Position pos;
} bouncer;
} Level;