Aladidos estados al jugador para mejorar el control sobre el salto y las caídas

This commit is contained in:
2022-08-19 13:21:23 +02:00
parent 1882f57c57
commit 5144a14bcd
3 changed files with 45 additions and 27 deletions

View File

@@ -138,4 +138,7 @@ void Game::renderDebugInfo()
text = "getTile " + std::to_string(player->map->getTile(player->collider[0]));
debugText->write(0, line += 6, text, -1);
text = "state " + std::to_string(player->state);
debugText->write(0, line += 6, text, -1);
}