mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-06 05:23:56 -07:00
Clean up game/zones/logic folder.
Took 6 minutes
This commit is contained in:
parent
a474182603
commit
e6820a1c8d
33 changed files with 40 additions and 40 deletions
19
cockatrice/src/game/zones/hand_zone_logic.cpp
Normal file
19
cockatrice/src/game/zones/hand_zone_logic.cpp
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
#include "hand_zone_logic.h"
|
||||
|
||||
#include "../board/card_item.h"
|
||||
#include "card_zone_algorithms.h"
|
||||
|
||||
HandZoneLogic::HandZoneLogic(Player *_player,
|
||||
const QString &_name,
|
||||
bool _hasCardAttr,
|
||||
bool _isShufflable,
|
||||
bool _contentsKnown,
|
||||
QObject *parent)
|
||||
: CardZoneLogic(_player, _name, _hasCardAttr, _isShufflable, _contentsKnown, parent)
|
||||
{
|
||||
}
|
||||
|
||||
void HandZoneLogic::addCardImpl(CardItem *card, int x, int /*y*/)
|
||||
{
|
||||
CardZoneAlgorithms::addCardToList(cards, card, x, false);
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue