Phoenix/include/state.hpp
2023-05-27 13:36:40 -04:00

17 lines
275 B
C++

#pragma once
#include "assets.hpp"
#include "config.hpp"
#include "player.hpp"
#include <SDL.h>
struct GlobalState {
SDL_Window *window;
SDL_Renderer *renderer;
SDL_Rect camera;
PPlayer player;
PhoenixAssets assets;
int scale = 20;
};
extern GlobalState state;