KoiKoi/src/Application.hpp

37 lines
484 B
C++
Raw Normal View History

2022-01-08 15:54:36 +00:00
#pragma once
2022-01-14 21:11:42 +00:00
#include <vector>
2022-01-13 22:24:39 +00:00
#include <lol/lol.hpp>
2022-01-15 02:23:46 +00:00
#include "CardStack.hpp"
#include "Game.hpp"
2022-01-15 02:23:46 +00:00
2022-01-14 21:11:42 +00:00
2022-01-08 15:54:36 +00:00
class Window;
class Application
{
public:
static Application& GetInstance()
{
static Application app;
return app;
}
public:
void Run();
void OnKeyPressed(unsigned int character); // TODO: Remove later on
2022-01-08 15:54:36 +00:00
private:
bool valid;
Window* window;
Game game;
2022-01-13 22:24:39 +00:00
lol::ObjectManager manager;
2022-01-14 21:11:42 +00:00
std::vector<lol::Layer*> layerStack;
2022-01-13 22:24:39 +00:00
2022-01-08 15:54:36 +00:00
private:
Application();
~Application();
};