Setup basic things

This commit is contained in:
2022-06-02 21:34:29 -05:00
commit baa580fa24
5 changed files with 169 additions and 0 deletions
+26
View File
@@ -0,0 +1,26 @@
#ifndef CELL_H
#define CELL_H
#include <SDL2/SDL_rect.h>
typedef enum {
Alive,
Dead
} State;
typedef struct cell {
struct cell* TopLeft;
struct cell* Top;
struct cell* TopRight;
struct cell* Left;
struct cell* Right;
struct cell* BottomLeft;
struct cell* Botttom;
struct cell* BottomRight;
State Status;
SDL_Rect Hitbox;
} Cell;
Cell* CreateCell(SDL_Rect);
#endif