This repository has been archived on 2024-01-18. You can view files and clone it, but cannot push or open issues or pull requests.
DamesEtCo/includes/Piece.hpp

20 lines
466 B
C++

#ifndef PIECE
#define PIECE
#include <iostream>
class Piece {
friend std::ostream &operator<<(std::ostream &, const Piece &);
// Couleur de la pièce ou type d'animal pour Safari par ex
std::string categorie;
public:
Piece(const std::string categorie); // constructor
virtual ~Piece(); // destructor
Piece(const Piece &); // copy constructor
const Piece &operator=(const Piece &); // copy assignement
};
#endif