Añadido mas texto al debug

This commit is contained in:
2022-08-21 10:25:28 +02:00
parent b394395fa7
commit 7c7dcf1a12

View File

@@ -143,6 +143,12 @@ void Game::renderDebugInfo()
int line = 0;
std::string text = "";
text = "R - Reload player and map";
debugText->write(1, 210, text, -1);
text = "D - Toggle debug mode";
debugText->write(1, 216, text, -1);
text = std::to_string((int)player->sprite->getPosX()) + "," + std::to_string((int)player->sprite->getPosY());
debugText->write(0, line, text, -1);