mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-19 17:02:15 -07:00
Emit handVisibleChanged() and move the attribute from player_info to player since it is dynamic.
Took 50 minutes Took 7 seconds Took 2 minutes
This commit is contained in:
parent
93c15c8151
commit
0bd1f78391
8 changed files with 37 additions and 22 deletions
|
|
@ -21,7 +21,6 @@ public:
|
|||
int id;
|
||||
bool local;
|
||||
bool judge;
|
||||
bool handVisible;
|
||||
|
||||
int getId() const
|
||||
{
|
||||
|
|
@ -50,16 +49,6 @@ public:
|
|||
return judge;
|
||||
}
|
||||
|
||||
void setHandVisible(bool _handVisible)
|
||||
{
|
||||
handVisible = _handVisible;
|
||||
}
|
||||
|
||||
bool getHandVisible() const
|
||||
{
|
||||
return handVisible;
|
||||
}
|
||||
|
||||
QString getName() const
|
||||
{
|
||||
return QString::fromStdString(userInfo->name());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue