// // Created by hamac on 19.12.2024. // #include #include #include #include "Chesspiece.cpp" class Pawn: public Chesspiece { private: /* fields */ bool firstMove = true; bool movedTwoFields = false; /* methods */ std::vector calcAvaibleMoves() override { std::pair pos = getPosition(); std::vector moves; if (firstMove) { //moves. } std::cout << "Hello World!\n" << std::endl; return moves; } public: Pawn(char color, std::pair position) : Chesspiece() { setPosition(position); setColor(color); } };