mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-06 05:23:56 -07:00
[Player] Pull handVisible out of player_info and let graphics_item just determine this on its own. (#6911)
Took 12 minutes Took 15 seconds Co-authored-by: Lukas Brübach <Bruebach.Lukas@bdosecurity.de>
This commit is contained in:
parent
7a5b2e9f0e
commit
af2f888293
4 changed files with 9 additions and 20 deletions
|
|
@ -22,7 +22,6 @@ public:
|
|||
int id;
|
||||
bool local;
|
||||
bool judge;
|
||||
bool handVisible;
|
||||
|
||||
int getId() const
|
||||
{
|
||||
|
|
@ -51,16 +50,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