first commit

This commit is contained in:
YANNIS
2025-05-29 16:06:07 +02:00
commit 33c6f3ccff
6 changed files with 102 additions and 0 deletions
+10
View File
@@ -0,0 +1,10 @@
//Bomberman.cpp
#include "Bomberman.hpp"
Bomberman::Bomberman(const Position &position, unsigned short numberOfBombs)
: _position(position), _numberOfBombs(numberOfBombs) {
std::cout << "Bomberman created at position ("
<< _position.getX() << ", " << _position.getY()
<< ") with " << _numberOfBombs
<< " bombs!" << std::endl;
}