Restructered Folders and Added Screens to the Game

This commit is contained in:
Julian Nießner
2018-05-11 10:11:06 +02:00
parent 9083487ac9
commit c7426bf24b
11 changed files with 86 additions and 3 deletions

View File

@@ -7,6 +7,7 @@
#include <GL/glew.h>
#include <iostream>
#include <entityx/entityx.h>
DarkRP2D::~DarkRP2D() {
std::cout << "Game got destroyed!" << std::endl;
@@ -46,6 +47,11 @@ void DarkRP2D::create () {
font = new BitmapFont("arial.ttf");
camera = new OrtographicCamera();
entityx::EntityX ex;
entityx::Entity charakter = ex.entities.create();
charakter.assign<Position>();
#ifndef NDEBUG
//Setup IMGUI debugging
ImGui::CreateContext();