Added ability to rotate player positions in the local game view.

This commit is contained in:
mildmongrel 2015-06-29 14:35:16 -07:00
parent f199e20740
commit 124788d217
4 changed files with 72 additions and 16 deletions

View file

@ -28,6 +28,7 @@ private:
QPointer<CardItem> hoveredCard;
QBasicTimer *animationTimer;
QSet<CardItem *> cardsToAnimate;
int playerRotation;
void updateHover(const QPointF &scenePos);
public:
GameScene(PhasesToolbar *_phasesToolbar, QObject *parent = 0);
@ -51,6 +52,7 @@ public slots:
void removePlayer(Player *player);
void clearViews();
void closeMostRecentZoneView();
void adjustPlayerRotation(int rotationAdjustment);
void rearrange();
protected:
bool event(QEvent *event);