31 lines
443 B
C++
31 lines
443 B
C++
/**
|
|
* Copyright (c) 2023, Furkan Mudanyali <fmudanyali@icloud.com>
|
|
* All rights reserved
|
|
*/
|
|
|
|
#ifndef _HOMD_GAME
|
|
#define _HOMD_GAME
|
|
|
|
#include <window/window.h>
|
|
#include <input/input.h>
|
|
#include <stack>
|
|
|
|
class Scene;
|
|
class Graphics;
|
|
|
|
class Game {
|
|
bool done = false;
|
|
std::stack<Scene*> scenes;
|
|
|
|
public:
|
|
Window* pWindow;
|
|
Input* pInput;
|
|
Graphics* pRenderer;
|
|
|
|
Game();
|
|
~Game() = default;
|
|
|
|
void loop();
|
|
};
|
|
|
|
#endif |