mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-06-14 19:18:55 -07:00
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:
parent
c6bfc8b8ea
commit
24b5dab456
10 changed files with 69 additions and 12 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue