leave some documentation on Zone classes (#5199)

* leave some documentation on Zone classes

* small refactor

* undo functional change from refactor and clean up comments

* move variables into if block
This commit is contained in:
RickyRister 2024-11-28 11:40:49 -08:00 committed by GitHub
parent c6bfc8b8ea
commit 24b5dab456
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
10 changed files with 69 additions and 12 deletions

View file

@ -11,6 +11,14 @@
#include <QGraphicsSceneMouseEvent>
#include <QMenu>
/**
* @param _p the player that the zone belongs to
* @param _name internal name of the zone
* @param _isShufflable whether it makes sense to shuffle this zone by default after viewing it
* @param _contentsKnown whether the cards in the zone are known to the client
* @param parent the parent graphics object.
* @param _isView whether this zone is a view of another zone. Modifications to a view should modify the original
*/
CardZone::CardZone(Player *_p,
const QString &_name,
bool _hasCardAttr,