mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-07 16:53:00 -07:00
[Player] Rename player to player logic (#6913)
Took 13 minutes Took 6 seconds Took 2 minutes Co-authored-by: Lukas Brübach <Bruebach.Lukas@bdosecurity.de>
This commit is contained in:
parent
71790d8e10
commit
5219cffa6b
79 changed files with 397 additions and 386 deletions
|
|
@ -17,7 +17,7 @@ class CardDatabase;
|
|||
class CardDragItem;
|
||||
class CardZone;
|
||||
class ServerInfo_Card;
|
||||
class Player;
|
||||
class PlayerLogic;
|
||||
class QAction;
|
||||
class QColor;
|
||||
|
||||
|
|
@ -48,7 +48,7 @@ public:
|
|||
{
|
||||
return Type;
|
||||
}
|
||||
explicit CardItem(Player *_owner,
|
||||
explicit CardItem(PlayerLogic *_owner,
|
||||
QGraphicsItem *parent = nullptr,
|
||||
const CardRef &cardRef = {},
|
||||
int _cardid = -1,
|
||||
|
|
@ -73,11 +73,11 @@ public:
|
|||
{
|
||||
return gridPoint;
|
||||
}
|
||||
[[nodiscard]] Player *getOwner() const
|
||||
[[nodiscard]] PlayerLogic *getOwner() const
|
||||
{
|
||||
return owner;
|
||||
}
|
||||
void setOwner(Player *_owner)
|
||||
void setOwner(PlayerLogic *_owner)
|
||||
{
|
||||
owner = _owner;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue