This commit is contained in:
Ben
2020-09-06 18:38:34 +01:00
parent 62ae3e26b0
commit 9cd540a9f3
6 changed files with 3 additions and 2 deletions

View File

@@ -201,7 +201,7 @@ void Dungeon::Generate()
int directionChance = 5;
int roomChance = 5;
int dungeonMinSize = 3000;
int dungeonMinSize = 5000;
struct Agent
{
@@ -571,6 +571,7 @@ void Dungeon::Update(olc::PixelGameEngine* engine, float fTime)
if(Enemies.size() == 0)
{
HasWon = true;
_Logger.Info("Won, health ", Player->Life);
return;
}
}

View File

@@ -60,7 +60,7 @@ class Game : public olc::PixelGameEngine
SetDrawTarget(uint8_t(0));
Clear(olc::BLANK);
goto bruh;
// goto bruh;
if (_TimeAccumilator < 6.0f)
{