#pragma once #include "SDL2/SDL.h" #include class game { private: void input(); //Process input void update(); //update game void output(); // generate output SDL_Window *ptr_MainWindow; SDL_Renderer *ptr_MainRenderer; Uint32 GameTick; bool GameIsRunning; bool UpdateActors; std::vector ActorList; public: game(); //constructor ~game(); //destructor bool Init(int x, int y, int w, int h); void RunLoop(); void Shutdown(); void AddActor(class Actor *ptr_actor); void RemActor(class Actor *ptr_actor); };