mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-06-12 00:54:53 -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
|
|
@ -16,6 +16,13 @@
|
|||
#include <QPainter>
|
||||
#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(Player *_p,
|
||||
CardZone *_origZone,
|
||||
int _numberCards,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue