22 #ifndef NANCY_ACTION_COLLISIONPUZZLE_H 23 #define NANCY_ACTION_COLLISIONPUZZLE_H 25 #include "engines/nancy/action/actionrecord.h" 40 enum PuzzleType { kCollision, kTileMove };
45 void registerGraphics()
override;
46 void updateGraphics()
override;
49 void execute()
override;
54 enum WallType { kWallLeft = 6, kWallUp = 7, kWallDown = 8, kWallRight = 9, kBlock = 10 };
66 bool isViewportRelative()
const override {
return true; }
69 Common::String getRecordTypeName()
const override {
return _puzzleType == kCollision ?
"CollisionPuzzle" :
"TileMovePuzzle"; };
70 bool isViewportRelative()
const override {
return true; }
89 uint _tileMoveExitSize = 0;
91 bool _usesExitButton =
false;
97 uint16 _lineWidth = 0;
98 uint16 _framesPerMove = 0;
100 uint32 _timerTime = 0;
111 uint16 _solveSoundDelay = 0;
120 int _currentlyAnimating = -1;
121 int _currentAnimFrame = -1;
124 uint32 _solveSoundPlayTime = 0;
125 bool _solved =
false;
127 uint32 _puzzleStartTime = 0;
128 int _currentTimerGraphic = -1;
130 PuzzleType _puzzleType;
136 #endif // NANCY_ACTION_COLLISIONPUZZLE_H Definition: managed_surface.h:51
Definition: collisionpuzzle.h:38
Definition: commontypes.h:171
Definition: actionrecord.h:149
Definition: renderobject.h:36
Definition: commontypes.h:254
Definition: actionmanager.h:32
Definition: collisionpuzzle.h:56