TurboSchach/Pawn.h

29 lines
452 B
C
Raw Normal View History

//
// Created by hamac on 20.12.2024.
//
#ifndef PAWN_H
#define PAWN_H
//
// Created by hamac on 19.12.2024.
//
#include <string>
#include <vector>
#include "Chesspiece.h"
class Pawn: public Chesspiece {
private:
/* fields */
bool firstMove = true;
bool movedTwoFields = false;
/* methods */
std::vector<std::string> calcAvaibleMoves() override ;
public:
Pawn(char color, std::pair<int, int> position);
};
#endif //PAWN_H