Move docs for ViewZone

This commit is contained in:
RickyRister 2025-09-11 03:44:29 -07:00
parent 93c15c8151
commit c25b486225
2 changed files with 7 additions and 5 deletions

View file

@ -3,6 +3,12 @@
#include "../../../settings/cache_settings.h"
#include "../../board/card_item.h"
/**
* @param _player the player that the cards are revealed to.
* @param _origZone the zone the cards were revealed from.
* @param _revealZone if false, the cards will be face down.
* @param _writeableRevealZone whether the player can interact with the revealed cards.
*/
ZoneViewZoneLogic::ZoneViewZoneLogic(Player *_player,
CardZoneLogic *_origZone,
int _numberCards,

View file

@ -18,10 +18,6 @@
#include <QtMath>
/**
* @param _p the player that the cards are revealed to.
* @param _origZone the zone the cards were revealed from.
* @param _revealZone if false, the cards will be face down.
* @param _writeableRevealZone whether the player can interact with the revealed cards.
* @param parent the parent QGraphicsWidget containing the reveal zone
*/
ZoneViewZone::ZoneViewZone(ZoneViewZoneLogic *_logic, QGraphicsItem *parent)
@ -116,7 +112,7 @@ void ZoneViewZone::zoneDumpReceived(const Response &r)
qobject_cast<ZoneViewZoneLogic *>(getLogic())->updateCardIds(ZoneViewZoneLogic::INITIALIZE);
reorganizeCards();
emit getLogic()->cardCountChanged();
emit getLogic() -> cardCountChanged();
}
// Because of boundingRect(), this function must not be called before the zone was added to a scene.