mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-01 02:53:56 -07:00
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…
Add table
Add a link
Reference in a new issue