ouverture de fenetre possible

faire le Game::run
This commit is contained in:
YANNIS
2025-05-29 18:25:10 +02:00
parent bd9bc5e2e2
commit 62a0b9719f
10 changed files with 91 additions and 68 deletions
+10 -1
View File
@@ -1,3 +1,12 @@
//Bomberman.cpp
#include "Bomberman.hpp"
std::ostream& operator<<(std::ostream& os, const Bomberman& b) {
os << "Bomberman at (" << b._x << ", " << b._y << ") with "
<< b._maxBomb << " max bombs, "
<< b._maxRange << " max range, "
<< b._bombPlanted << " bombs planted, "
<< "speed: " << b._speed
<< ", alive: " << (b._isAlive ? "yes" : "no")
<< ", invincible: " << (b._isInvincible ? "yes" : "no");
return os;
}