22 #ifndef NANCY_ACTION_LEVERPUZZLE_H 23 #define NANCY_ACTION_LEVERPUZZLE_H 25 #include "engines/nancy/action/actionrecord.h" 32 enum SolveState { kNotSolved, kPlaySound, kWaitForSound };
39 void execute()
override;
49 uint16 _solveSoundDelay = 0;
57 Time _solveSoundPlayTime;
58 SolveState _solveState = kNotSolved;
61 Common::String getRecordTypeName()
const override {
return "LeverPuzzle"; }
62 bool isViewportRelative()
const override {
return true; }
64 void drawLever(uint
id);
70 #endif // NANCY_ACTION_LEVERPUZZLE_H Definition: managed_surface.h:51
Definition: leverpuzzle.h:30
Definition: commontypes.h:171
Definition: actionrecord.h:149
Definition: commontypes.h:254
Definition: actionmanager.h:32