repo.or.cz
/
tagua
/
yd.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Moved global.* to mastersettings.*, and converted many error messages to use the...
[tagua/yd.git]
/
src
/
promotioninfo.h_
blob
4a1300d7cbd0ad0b8eff98111e061ca085aed7f2
1
#ifndef PROMOTION_INFO_H
2
#define PROMOTION_INFO_H
3
4
#include "point.h"
5
6
class ChessPiece;
7
class PieceSprite;
8
9
class PromotionInfo {
10
public:
11
Point to;
12
PieceSprite* piece;
13
PieceSprite* promoted;
14
15
PromotionInfo(const Point& to, PieceSprite* piece, PieceSprite* promoted)
16
: to(to), piece(piece), promoted(promoted) {}
17
};
18
19
#endif // PROMOTION_INFO_H