mirror of
https://github.com/Steffo99/iiiiil-gioco.git
synced 2024-11-24 08:54:19 +00:00
draw() ora usa printf invece che cout
This commit is contained in:
parent
65bbcb53b7
commit
2b6a3df78a
1 changed files with 2 additions and 2 deletions
4
main.cpp
4
main.cpp
|
@ -251,10 +251,10 @@ void draw()
|
|||
{
|
||||
for(int x=0; x<X_MAX; x++)
|
||||
{
|
||||
cout << map[x][y];
|
||||
printf("%c", map[x][y]);
|
||||
}
|
||||
}
|
||||
cout << "Piano: " << depth << ' ' << "Vita: " << player.hp << "/" << HP_MAX << ' ' << player.x << '|' << player.y << '\n';
|
||||
printf("Piano: %d | Vita: %d/%d | x:%d y:%d\n", depth, player.hp, HP_MAX, player.x, player.y);
|
||||
}
|
||||
|
||||
//Visualizza l'inventario
|
||||
|
|
Loading…
Reference in a new issue