Input
This commit is contained in:
@@ -7,11 +7,12 @@
|
||||
#include "time/Time.hpp"
|
||||
#include "console/Console.hpp"
|
||||
#include "display/Display.hpp"
|
||||
#include "input/Input.hpp"
|
||||
|
||||
namespace Dawn {
|
||||
struct Engine {
|
||||
private:
|
||||
static std::shared_ptr<Engine> instance;
|
||||
static Engine* instance;
|
||||
|
||||
bool_t exitRequested = false;
|
||||
|
||||
@@ -19,13 +20,7 @@ namespace Dawn {
|
||||
Time time;
|
||||
Console console;
|
||||
Display display;
|
||||
|
||||
/**
|
||||
* Get the singleton instance of the engine.
|
||||
*
|
||||
* @return A shared pointer to the engine instance.
|
||||
*/
|
||||
static std::shared_ptr<Engine> getInstance();
|
||||
Input input;
|
||||
|
||||
/**
|
||||
* Constructor for the Dawn engine.
|
||||
|
Reference in New Issue
Block a user