Browse Source

added gaming core lib

Kajetan Johannes Hammerle 3 years ago
parent
commit
bd74397ea4
3 changed files with 5 additions and 1 deletions
  1. 3 0
      .gitmodules
  2. 1 1
      Game.cpp
  3. 1 0
      gaming-core

+ 3 - 0
.gitmodules

@@ -0,0 +1,3 @@
+[submodule "gaming-core"]
+	path = gaming-core
+	url = git@git.hammerle.me:kjhammerle/gaming-core.git

+ 1 - 1
Game.cpp

@@ -79,5 +79,5 @@ void Game::render(float lag, Renderer& renderer) const {
 }
 
 bool Game::isRunning() const {
-    return true;//!controller.isDown(Controller::SELECT);
+    return !controller.isDown(Controller::SELECT);
 }

+ 1 - 0
gaming-core

@@ -0,0 +1 @@
+Subproject commit 2520bce011ef46b775b701f024259929351dfd6d