mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-08 09:03:57 -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
|
|
@ -7,7 +7,7 @@
|
|||
#ifndef COCKATRICE_PLAYER_GRAPHICS_ITEM_H
|
||||
#define COCKATRICE_PLAYER_GRAPHICS_ITEM_H
|
||||
#include "../game_scene.h"
|
||||
#include "player.h"
|
||||
#include "player_logic.h"
|
||||
|
||||
#include <QGraphicsObject>
|
||||
|
||||
|
|
@ -34,7 +34,7 @@ public:
|
|||
|
||||
static constexpr int counterAreaWidth = 55;
|
||||
|
||||
explicit PlayerGraphicsItem(Player *player);
|
||||
explicit PlayerGraphicsItem(PlayerLogic *player);
|
||||
void initializeZones();
|
||||
|
||||
[[nodiscard]] QRectF boundingRect() const override;
|
||||
|
|
@ -54,7 +54,7 @@ public:
|
|||
return static_cast<GameScene *>(scene());
|
||||
}
|
||||
|
||||
Player *getPlayer() const
|
||||
PlayerLogic *getPlayer() const
|
||||
{
|
||||
return player;
|
||||
}
|
||||
|
|
@ -109,7 +109,7 @@ signals:
|
|||
void playerCountChanged();
|
||||
|
||||
private:
|
||||
Player *player;
|
||||
PlayerLogic *player;
|
||||
PlayerArea *playerArea;
|
||||
PlayerTarget *playerTarget;
|
||||
PileZone *deckZoneGraphicsItem;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue