ouverture de fenetre possible
faire le Game::run
This commit is contained in:
+10
-1
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user