mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-06-25 16:13:54 -07:00
boom
This commit is contained in:
parent
d329376e93
commit
1c2aa15b22
38 changed files with 638 additions and 1651 deletions
20
common/server_arrow.h
Normal file
20
common/server_arrow.h
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
#ifndef SERVER_ARROW_H
|
||||
#define SERVER_ARROW_H
|
||||
|
||||
class Server_Card;
|
||||
|
||||
class Server_Arrow {
|
||||
private:
|
||||
int id;
|
||||
Server_Card *startCard, *targetCard;
|
||||
int color;
|
||||
public:
|
||||
Server_Arrow(int _id, Server_Card *_startCard, Server_Card *_targetCard, int _color)
|
||||
: id(_id), startCard(_startCard), targetCard(_targetCard), color(_color) { }
|
||||
int getId() const { return id; }
|
||||
Server_Card *getStartCard() const { return startCard; }
|
||||
Server_Card *getTargetCard() const { return targetCard; }
|
||||
int getColor() const { return color; }
|
||||
};
|
||||
|
||||
#endif
|
||||
Loading…
Add table
Add a link
Reference in a new issue