Añadido mas texto al debug
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user