player controller + renderer

This commit is contained in:
Hunter 2023-05-27 13:10:56 -04:00
parent 4913fc7667
commit a1f8e26d9a
21 changed files with 348 additions and 279 deletions

View file

@ -1,11 +1,13 @@
#pragma once
#include "assets.hpp"
#include "config.hpp"
#include "player.hpp"
#include <SDL.h>
struct GlobalState {
SDL_Window *window;
SDL_Renderer *renderer;
PPlayer player;
PhoenixAssets assets;
int scale = 20;
};