aboutsummaryrefslogtreecommitdiffstats
path: root/yage/engine/engine.h
diff options
context:
space:
mode:
authorYann Herklotz <ymherklotz@gmail.com>2018-01-10 12:02:04 +0000
committerYann Herklotz <ymherklotz@gmail.com>2018-01-10 12:02:04 +0000
commita62fbea8d40f623ffcd60eced63f295cd55db084 (patch)
tree2374234d4364eb389df98fff0c4c180118331b27 /yage/engine/engine.h
parentcbd6bf4a695370dbfc088bbe0cd6f270e1c112a7 (diff)
downloadYAGE-a62fbea8d40f623ffcd60eced63f295cd55db084.tar.gz
YAGE-a62fbea8d40f623ffcd60eced63f295cd55db084.zip
[Engine] Adding initial components for an ECS.
Diffstat (limited to 'yage/engine/engine.h')
-rw-r--r--yage/engine/engine.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/yage/engine/engine.h b/yage/engine/engine.h
index dabe5596..147769e5 100644
--- a/yage/engine/engine.h
+++ b/yage/engine/engine.h
@@ -9,6 +9,7 @@
#ifndef YAGE_CORE_ENGINE_H
#define YAGE_CORE_ENGINE_H
+#include "../core/window.h"
#include "system.h"
#include <vector>
@@ -21,6 +22,9 @@ namespace yage
class Engine
{
public:
+ /// Initialize window and other aspects of the engine.
+ void init();
+
/// Main game loop of the engine.
void mainLoop();
@@ -37,6 +41,9 @@ public:
private:
/// Vector of all the systems in the engine.
std::vector<System *> systems_;
+
+ /// Window
+ Window window_;
};
} // namespace yage