#include "Pawn.h" #include "Position.h" #include Pawn::Pawn(Position pos) { position = pos; } std::pair Pawn::get_moves() { Position* moves = new Position[1]; Position p(position.posSym, position.posNum+1); moves[0] = p; return std::pair(1, moves); };