mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-06-25 16:13:54 -07:00
- Add CommandZone and CommandZoneLogic for commander - Add CommanderTaxCounter - Add counter active state protocol (show/hide tax counters) - Add "Enable Command Zone" option in game creation dialogs - Add context menu actions for command zone operations Took 9 minutes Took 11 minutes
32 lines
724 B
C++
32 lines
724 B
C++
/**
|
|
* @file move_menu.h
|
|
* @ingroup GameMenusZones
|
|
*/
|
|
//! \todo Document this file.
|
|
|
|
#ifndef COCKATRICE_MOVE_MENU_H
|
|
#define COCKATRICE_MOVE_MENU_H
|
|
#include <QMenu>
|
|
|
|
class PlayerGraphicsItem;
|
|
class MoveMenu : public QMenu
|
|
{
|
|
Q_OBJECT
|
|
|
|
public:
|
|
explicit MoveMenu(PlayerGraphicsItem *player);
|
|
void setShortcutsActive();
|
|
void retranslateUi();
|
|
|
|
QAction *aMoveToTopLibrary = nullptr;
|
|
QAction *aMoveToXfromTopOfLibrary = nullptr;
|
|
QAction *aMoveToBottomLibrary = nullptr;
|
|
|
|
QAction *aMoveToHand = nullptr;
|
|
QAction *aMoveToTable = nullptr;
|
|
QAction *aMoveToGraveyard = nullptr;
|
|
QAction *aMoveToExile = nullptr;
|
|
QAction *aMoveToCommandZone = nullptr;
|
|
};
|
|
|
|
#endif // COCKATRICE_MOVE_MENU_H
|