server keeps list of arrows

This commit is contained in:
Max-Wilhelm Bruker 2009-10-20 16:45:29 +02:00
parent 4bc76600e8
commit 961b42f734
7 changed files with 120 additions and 12 deletions

View file

@ -22,8 +22,11 @@
#include <QString>
class PlayerZone;
class Card {
private:
PlayerZone *zone;
int id;
int coord_x, coord_y;
QString name;
@ -37,6 +40,9 @@ public:
Card(QString _name, int _id, int _coord_x, int _coord_y);
~Card();
PlayerZone *getZone() const { return zone; }
void setZone(PlayerZone *_zone) { zone = _zone; }
int getId() const { return id; }
int getX() const { return coord_x; }
int getY() const { return coord_y; }