g_LocalController = localController;
g_LocalPlayer = localPlayer;
if (totalEnemies > 0 || totalBots > 0)
{
std::string s;
s += " ";
s += std::to_string((int)totalEnemies);
s += " | ";
s += std::to_string((int)totalBots);
draw->AddRectFilled({glWidth /2-50,40},{glWidth /2,80},ImColor(71, 135, 0, 180));
draw->AddRect({glWidth /2-50,40},{glWidth /2,80},ImColor(71, 135, 0, 180),0,0,2.5f);
draw->AddRectFilled({glWidth /2+50,40},{glWidth /2,80},ImColor(71, 135, 0, 180));
draw->AddRect({glWidth /2+50,40},{glWidth /2,80},ImColor(71, 135, 0, 180),0,0,2.5f);
draw->AddText(nullptr, ((float) density / 12.5f), ImVec2(glWidth / 2 - 35.f, 40), IM_COL32(255, 255, 255, 255), s.c_str());
}else{
std::string s;
s += " SAFE";
draw->AddRectFilled(ImVec2(glWidth / 2 - 60.f, 40), ImVec2(glWidth / 2 + 50.f, 80), IM_COL32(217, 196, 13, 250), 13.0f);
draw->AddText(nullptr, ((float) density / 12.5f), ImVec2(glWidth / 2 - 50.f, 40), IM_COL32(20, 20, 19, 255), s.c_str());
fps.update();
}}