NouVeL/ADVect/ADVect.h
2022-05-09 03:46:44 -04:00

31 lines
533 B
C++

#include <vector>
#include <string>
#include <Parser.h>
#include <SDL2/SDL.h>
namespace ADVect {
class Game {
public:
Game(std::string name, std::vector<NVL::Parse::Scene>& scenes);
~Game();
void Run();
void Update();
void Render();
void Advance();
private:
SDL_Window* m_window;
std::string m_name;
bool m_running;
int m_keys[65536] = {};
SDL_Surface* m_surface;
std::vector<NVL::Parse::Scene>& m_scenes;
int m_current_scene;
std::string m_text;
std::string m_speaker;
int m_scene_pos;
};
}