ScummVM API documentation
Nancy::Action::ActionRecord Class Referenceabstract
Inheritance diagram for Nancy::Action::ActionRecord:
Nancy::Action::AddInventoryNoHS Nancy::Action::Autotext Nancy::Action::BumpPlayerClock Nancy::Action::DifficultyLevel Nancy::Action::EnableDisableInventory Nancy::Action::EventFlags Nancy::Action::GoInvViewScene Nancy::Action::GotoMenu Nancy::Action::HintSystem Nancy::Action::HotMultiframeMultisceneChange Nancy::Action::HotMultiframeMultisceneCursorTypeSceneChange Nancy::Action::InteractiveVideo Nancy::Action::InventorySoundOverride Nancy::Action::LightningOn Nancy::Action::LoseGame Nancy::Action::MapCall Nancy::Action::ModifyListEntry Nancy::Action::PaletteNextScene Nancy::Action::PaletteThisScene Nancy::Action::PlaySound Nancy::Action::PlaySoundFrameAnchor Nancy::Action::PlaySoundMultiHS Nancy::Action::PopInvViewPriorScene Nancy::Action::PopScene Nancy::Action::PushScene Nancy::Action::RemoveInventoryNoHS Nancy::Action::RenderActionRecord Nancy::Action::ResetAndStartTimer Nancy::Action::SaveContinueGame Nancy::Action::SceneChange Nancy::Action::SetValue Nancy::Action::SetValueCombo Nancy::Action::SetVolume Nancy::Action::SpecialEffect Nancy::Action::StopSound Nancy::Action::StopTimer Nancy::Action::TableIndexSetValueHS Nancy::Action::TextboxClear Nancy::Action::TextBoxWrite Nancy::Action::Unimplemented Nancy::Action::ValueTest Nancy::Action::WinGame

Public Types

enum  ExecutionState { kBegin, kRun, kActionTrigger }
 
enum  ExecutionType { kOneShot = 1, kRepeating = 2 }
 

Public Member Functions

virtual void readData (Common::SeekableReadStream &stream)=0
 
virtual void execute ()
 
virtual void onPause (bool pause)
 
virtual CursorManager::CursorType getHoverCursor () const
 
virtual void handleInput (NancyInput &input)
 

Public Attributes

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

void finishExecution ()
 
virtual bool canHaveHotspot () const
 
virtual Common::String getRecordTypeName () const =0
 

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