mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-06 05:23:56 -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
|
|
@ -10,6 +10,15 @@ class Response;
|
|||
class ServerInfo_Card;
|
||||
class QGraphicsSceneWheelEvent;
|
||||
|
||||
/**
|
||||
* A CardZone that is a view into another CardZone.
|
||||
* If this zone is writable, then modifications to this zone will be reflected in the underlying zone.
|
||||
*
|
||||
* Most interactions with StackZones are handled through a zone view.
|
||||
* For example, viewing the deck/graveyard/exile is handled through a view.
|
||||
*
|
||||
* Handles both limited reveals (eg. look at top X cards) and full zone reveals (eg. searching the deck).
|
||||
*/
|
||||
class ZoneViewZone : public SelectZone, public QGraphicsLayoutItem
|
||||
{
|
||||
Q_OBJECT
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue