x, y
This commit is contained in:
parent
77b918ede6
commit
7b58d615fd
1 changed files with 0 additions and 2 deletions
|
@ -119,8 +119,6 @@ void Dames::changerJoueurCourant() {
|
||||||
// UPDATE : utiliser deplacementValide ?
|
// UPDATE : utiliser deplacementValide ?
|
||||||
bool Dames::prisePossible(Joueur &joueur) const {
|
bool Dames::prisePossible(Joueur &joueur) const {
|
||||||
const std::vector<Piece *> &pieces = joueur.getPieces();
|
const std::vector<Piece *> &pieces = joueur.getPieces();
|
||||||
int x = 1;
|
|
||||||
int y = 1;
|
|
||||||
const PieceDames *pieceAPrendre;
|
const PieceDames *pieceAPrendre;
|
||||||
for (uint i = 0; i < pieces.size(); i++) {
|
for (uint i = 0; i < pieces.size(); i++) {
|
||||||
const PieceDames *p = dynamic_cast<const PieceDames *>(pieces[i]);
|
const PieceDames *p = dynamic_cast<const PieceDames *>(pieces[i]);
|
||||||
|
|
Reference in a new issue