mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-06-12 00:54:53 -07:00
minor improvements
This commit is contained in:
parent
a429a4a004
commit
792a400a3d
30 changed files with 1022 additions and 829 deletions
|
|
@ -21,8 +21,10 @@
|
|||
#define PLAYERZONE_H
|
||||
|
||||
#include <QList>
|
||||
#include "testcard.h"
|
||||
#include "testrandom.h"
|
||||
#include <QString>
|
||||
|
||||
class Card;
|
||||
class Random;
|
||||
|
||||
class PlayerZone {
|
||||
private:
|
||||
|
|
@ -40,7 +42,7 @@ public:
|
|||
PlayerZone(QString _name, bool _has_coords, bool _is_public, bool _is_private, bool _id_access);
|
||||
~PlayerZone();
|
||||
|
||||
TestCard *getCard(int id, bool remove, int *position = NULL);
|
||||
Card *getCard(int id, bool remove, int *position = NULL);
|
||||
|
||||
bool isPublic() { return is_public; }
|
||||
bool isPrivate() { return is_private; }
|
||||
|
|
@ -48,9 +50,9 @@ public:
|
|||
bool hasIdAccess() { return id_access; }
|
||||
QString getName() { return name; }
|
||||
|
||||
QList<TestCard *> cards;
|
||||
void insertCard(TestCard *card, int x, int y);
|
||||
void shuffle(TestRandom *rnd);
|
||||
QList<Card *> cards;
|
||||
void insertCard(Card *card, int x, int y);
|
||||
void shuffle(Random *rnd);
|
||||
void clear();
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue