initial components

This commit is contained in:
Josh Lyon
2025-08-12 23:14:42 -06:00
parent 4e3e4f9aab
commit f6de0ed9f3
9 changed files with 65 additions and 5 deletions

View File

@@ -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[])
{