initial commit

This commit is contained in:
Quinn
2024-06-10 14:07:54 +02:00
commit d4f51ee3d1
7 changed files with 208 additions and 0 deletions

17
level.h Normal file
View File

@@ -0,0 +1,17 @@
#pragma once
#include <stdbool.h>
#include <SDL2/SDL.h>
typedef struct {
unsigned x;
unsigned y;
} Position;
typedef struct {
Position ball_pos;
Position bouncer_pos;
} Level;
void level_init(Level* level);
void level_update(Level* level, bool* keys);