ScummVM API documentation
Nancy::Action::TimerControl Class Reference
Inheritance diagram for Nancy::Action::TimerControl:
Nancy::Action::ActionRecord

Public Types

enum  Command {
  kReset = 0, kStart = 1, kPause = 2, kAddTime = 3,
  kSubtractTime = 4, kConfigOneShot = 5, kConfigRepeating = 6
}
 
- Public Types inherited from Nancy::Action::ActionRecord
enum  ExecutionState { kBegin, kRun, kActionTrigger }
 
enum  ExecutionType { kOneShot = 1, kRepeating = 2 }
 

Public Member Functions

void readData (Common::SeekableReadStream &stream) override
 
void execute () override
 
- Public Member Functions inherited from Nancy::Action::ActionRecord
virtual void onPause (bool pause)
 
virtual CursorManager::CursorType getHoverCursor () const
 
virtual bool cursorSetFromScript () const
 
virtual void handleInput (NancyInput &input)
 
virtual bool canHaveHotspot () const
 
virtual bool isPersistentAcrossScenes () const
 

Public Attributes

int16 _timerIndex = 0
 
int16 _command = 0
 
int16 _hours = 0
 
int16 _minutes = 0
 
int16 _seconds = 0
 
SoundDescription _sound
 
Common::String _autotextKey
 
Common::String _caption
 
Common::Array< FlagDescription_flags
 
- Public Attributes inherited from Nancy::Action::ActionRecord
Common::String _description
 
byte _type
 
ExecutionType _execType
 
DependencyRecord _dependencies
 
bool _isActive
 
bool _isDone
 
bool _hasHotspot
 
Common::Rect _hotspot
 
ExecutionState _state
 
int16 _days
 
DependencyRecord_cursorDependency
 

Protected Member Functions

Common::String getRecordTypeName () const override
 
- Protected Member Functions inherited from Nancy::Action::ActionRecord
void finishExecution ()
 

The documentation for this class was generated from the following file: