Restructered Folders and Added Screens to the Game
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user