// // Created by hamac on 19.12.2024. // #include "Chesspiece.h" #include "Pawn.h" #include /* methods */ std::vector Pawn::calcAvaibleMoves() { std::pair pos = Chesspiece::getPosition(); std::vector moves; if (this->firstMove) { //moves. } std::cout << "Hello World!\n" << std::endl; return moves; } Pawn::Pawn(char color, std::pair position): Chesspiece(color, 'P') { setPosition(position); setColor(color); }