forked from jaildesigner-jailgames/jaildoctors_dilemma
Ya casi dibuja el mapa
This commit is contained in:
@@ -105,11 +105,11 @@ section_t Game::run()
|
||||
mRoom->draw();
|
||||
|
||||
// Escribe las medidas de ancho y alto de la pantalla
|
||||
mText->writeCentered(GAMECANVAS_CENTER_X, 0, std::to_string(GAMECANVAS_WIDTH), -1);
|
||||
mText->write(0, GAMECANVAS_CENTER_Y - (mText->getCharacterWidth() / 2), std::to_string(GAMECANVAS_HEIGHT), -1);
|
||||
// mText->writeCentered(GAMECANVAS_CENTER_X, 0, std::to_string(GAMECANVAS_WIDTH), -1);
|
||||
// mText->write(0, GAMECANVAS_CENTER_Y - (mText->getCharacterWidth() / 2), std::to_string(GAMECANVAS_HEIGHT), -1);
|
||||
|
||||
// Texto en el centro de la pantalla
|
||||
mText->writeCentered(GAMECANVAS_CENTER_X, GAMECANVAS_CENTER_Y - (mText->getCharacterWidth() / 2), mRoom->getName(), -1);
|
||||
mText->writeCentered(GAMECANVAS_CENTER_X, 18 * 8, mRoom->getName(), -1);
|
||||
|
||||
// Actualiza la pantalla
|
||||
mScreen->blit();
|
||||
|
||||
Reference in New Issue
Block a user