25 #ifndef PEGASUS_NEIGHBORHOOD_NORAD_PRESSUREDOOR_H 26 #define PEGASUS_NEIGHBORHOOD_NORAD_PRESSUREDOOR_H 28 #include "pegasus/interaction.h" 29 #include "pegasus/movie.h" 30 #include "pegasus/notification.h" 31 #include "pegasus/neighborhood/norad/pressuretracker.h" 35 static const short kNormalSubRoomPressure = 2;
40 const HotSpotID, TimeValue pressureSoundIn, TimeValue pressureSoundOut,
41 TimeValue equalizeSoundIn, TimeValue equalizeSoundOut);
44 void incrementPressure(
const HotSpotID);
45 void stopChangingPressure();
47 void playAgainstRobot();
49 bool canSolve()
override;
50 void doSolve()
override;
53 void openInteraction()
override;
54 void initInteraction()
override;
55 void closeInteraction()
override;
57 void activateHotspots()
override;
58 void clickInHotspot(
const Input &,
const Hotspot *)
override;
60 void receiveNotification(
Notification *,
const NotificationFlags)
override;
63 TimeScale _levelsScale;
72 HotSpotID _upHotspotID;
73 HotSpotID _downHotspotID;
74 HotSpotID _outHotspotID;
76 TimeValue _pressureSoundIn;
77 TimeValue _pressureSoundOut;
78 TimeValue _equalizeSoundIn;
79 TimeValue _equalizeSoundOut;
82 bool _playingAgainstRobot, _typePunched;
83 int _robotState, _punchCount;
87 TimeValue _punchInTime;
Definition: neighborhood.h:111
Definition: pressuretracker.h:45
Definition: elements.h:168
Definition: pressuredoor.h:37
Definition: notification.h:53
Definition: interaction.h:37
Definition: notification.h:83
Definition: ai_action.h:33