did a whold load of fuckall

This commit is contained in:
Ben
2020-08-31 01:44:54 +01:00
parent 41e8e8c161
commit e062d201ed
8 changed files with 587 additions and 21 deletions

View File

@@ -12,8 +12,6 @@ private:
Logger& _Logger;
Dungeon* _Dungeon;
olc::Sprite* _TileSet;
public:
Game()
: _Logger(Logger::getInstance())
@@ -26,8 +24,6 @@ public:
_Dungeon = new Dungeon();
_Dungeon->Generate();
_TileSet = new olc::Sprite("./res/dungeon_tileset.png");
return true;
}
@@ -50,17 +46,17 @@ public:
Clear({ 38, 36, 40 });
//_Logger.Debug(m_TimeAccumilator);
_Logger.Debug(m_TimeAccumilator);
//if (m_TimeAccumilator < 4.0f)
//{
// DisplayTitle(fTime);
// return true;
//}
if (m_TimeAccumilator < 4.0f)
{
DisplayTitle(fTime);
return true;
}
// _Dungeon->Input(this);
_Dungeon->Input(this);
// _Dungeon->Draw(this);
_Dungeon->Draw(this);
DrawSprite({ 0, 0 }, _TileSet);