minor improvements

This commit is contained in:
Max-Wilhelm Bruker 2009-04-08 21:49:16 +02:00
parent a429a4a004
commit 792a400a3d
30 changed files with 1022 additions and 829 deletions

View file

@ -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();
};