initial components
This commit is contained in:
@@ -17,9 +17,18 @@
|
||||
#include <SDL3/SDL.h>
|
||||
#include <SDL3/SDL_main.h>
|
||||
|
||||
#include <memory>
|
||||
|
||||
#include "components/PlayerGraphics.h"
|
||||
#include "Graphics.h"
|
||||
#include "GameObject.h"
|
||||
|
||||
static SDL_Window *window = nullptr;
|
||||
static SDL_Renderer *renderer = nullptr;
|
||||
|
||||
GameObject player(std::make_unique<PlayerGraphics>());
|
||||
Graphics graphics;
|
||||
|
||||
/* This function runs once at startup. */
|
||||
SDL_AppResult SDL_AppInit(void **appstate, int argc, char *argv[])
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user