mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-03 20:13:56 -07:00
server keeps list of arrows
This commit is contained in:
parent
4bc76600e8
commit
961b42f734
7 changed files with 120 additions and 12 deletions
|
|
@ -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; }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue