projects
/
impuzzle
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Updating changelog
[impuzzle]
/
src
/
gameview.h
diff --git
a/src/gameview.h
b/src/gameview.h
index
f213fe3
..
60af555
100644
(file)
--- a/
src/gameview.h
+++ b/
src/gameview.h
@@
-23,6
+23,7
@@
class GraphicsScene;
class PuzzleItem;
class GraphicsScene;
class PuzzleItem;
+class IntroItem;
class GameView : public QGraphicsView
{
class GameView : public QGraphicsView
{
@@
-34,6
+35,7
@@
public:
QPointF emptyPlace();
void setEmptyPlace(const QPointF &place);
bool areAllPiecesOk() const;
QPointF emptyPlace();
void setEmptyPlace(const QPointF &place);
bool areAllPiecesOk() const;
+ void setMovingPieces();
public slots:
void setPieces(const QList<PuzzleItem *> pieces);
public slots:
void setPieces(const QList<PuzzleItem *> pieces);
@@
-47,5
+49,9
@@
private:
QList<PuzzleItem *> pieces_;
QPointF emptyPlace_;
int hiddenIndex_;
QList<PuzzleItem *> pieces_;
QPointF emptyPlace_;
int hiddenIndex_;
+ IntroItem *introItem_;
+
+ int verticalStep_;
+ int horizontalStep_;
};
#endif
};
#endif