bla
This commit is contained in:
parent
7f659573bc
commit
197bf0dc64
1 changed files with 2 additions and 4 deletions
|
@ -74,14 +74,12 @@ Player::~Player()
|
||||||
|
|
||||||
void Player::actMoveHandToTopLibrary()
|
void Player::actMoveHandToTopLibrary()
|
||||||
{
|
{
|
||||||
CardZone *library = zones.findZone("deck");
|
zones.findZone("hand")->moveAllToZone("deck", 0);
|
||||||
zones.findZone("hand")->moveAllToZone(library->getName(), 0);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void Player::actMoveHandToBottomLibrary()
|
void Player::actMoveHandToBottomLibrary()
|
||||||
{
|
{
|
||||||
CardZone *library = zones.findZone("deck");
|
zones.findZone("hand")->moveAllToZone("deck", -1);
|
||||||
zones.findZone("hand")->moveAllToZone(library->getName(), library->getCards()->size());
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void Player::actViewLibrary()
|
void Player::actViewLibrary()
|
||||||
|
|
Loading…
Reference in a new issue