22 #ifndef NANCY_ACTION_MAZECHASEPUZZLE_H 23 #define NANCY_ACTION_MAZECHASEPUZZLE_H 25 #include "engines/nancy/action/actionrecord.h" 41 void registerGraphics()
override;
42 void updateGraphics()
override;
45 void execute()
override;
49 enum WallType { kWallLeft = 1, kWallUp = 2, kWallRight = 3, kWallDown = 4, kWallLeftRight = 6, kWallUpDown = 6 };
60 bool isViewportRelative()
const override {
return true; }
63 Common::String getRecordTypeName()
const override {
return "MazeChasePuzzle"; };
64 bool isViewportRelative()
const override {
return true; }
68 void enemyMovement(uint enemyID);
69 bool canMove(uint pieceID, WallType direction);
101 uint16 _lineWidth = 0;
102 uint16 _framesPerMove = 0;
108 uint16 _solveSoundDelay = 0;
117 int _currentAnimFrame = -1;
119 uint32 _solveSoundPlayTime = 0;
120 bool _solved =
false;
127 #endif // NANCY_ACTION_MAZECHASEPUZZLE_H Definition: managed_surface.h:51
Definition: mazechasepuzzle.h:35
Definition: commontypes.h:171
Definition: actionrecord.h:149
Definition: renderobject.h:36
Definition: mazechasepuzzle.h:51
Definition: commontypes.h:254
Definition: actionmanager.h:32