1
Fork 0
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:
Steffo 2016-01-04 17:40:04 +01:00
parent 65bbcb53b7
commit 2b6a3df78a

View file

@ -251,10 +251,10 @@ void draw()
{ {
for(int x=0; x<X_MAX; x++) 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 //Visualizza l'inventario