ScummVM API documentation
Neverhood::Entity Class Reference
Inheritance diagram for Neverhood::Entity:
Neverhood::Background Neverhood::DiskplayerSlot Neverhood::Module Neverhood::Palette Neverhood::Scene Neverhood::SmackerPlayer Neverhood::Sprite Neverhood::GameModule Neverhood::MenuModule Neverhood::Module1000 Neverhood::Module1100 Neverhood::Module1200 Neverhood::Module1300 Neverhood::Module1400 Neverhood::Module1500 Neverhood::Module1600 Neverhood::Module1700 Neverhood::Module1800 Neverhood::Module1900 Neverhood::Module2000 Neverhood::Module2100 Neverhood::Module2200 Neverhood::Module2300 Neverhood::Module2400 Neverhood::Module2500 Neverhood::Module2600 Neverhood::Module2700 Neverhood::Module2800 Neverhood::Module2900 Neverhood::Module3000 Neverhood::CreditsScene Neverhood::DiskplayerScene Neverhood::GameStateMenu Neverhood::HallOfRecordsScene Neverhood::MainMenu Neverhood::NavigationScene Neverhood::QueryOverwriteMenu Neverhood::Scene1001 Neverhood::Scene1002 Neverhood::Scene1004 Neverhood::Scene1005 Neverhood::Scene1105 Neverhood::Scene1109 Neverhood::Scene1201 Neverhood::Scene1202 Neverhood::Scene1302 Neverhood::Scene1303 Neverhood::Scene1304 Neverhood::Scene1305 Neverhood::Scene1306 Neverhood::Scene1307 Neverhood::Scene1308 Neverhood::Scene1317 Neverhood::Scene1401 Neverhood::Scene1402 Neverhood::Scene1403 Neverhood::Scene1404 Neverhood::Scene1405 Neverhood::Scene1407 Neverhood::Scene1501 Neverhood::Scene1608 Neverhood::Scene1609 Neverhood::Scene1705 Neverhood::Scene1901 Neverhood::Scene1907 Neverhood::Scene2001 Neverhood::Scene2101 Neverhood::Scene2201 Neverhood::Scene2202 Neverhood::Scene2203 Neverhood::Scene2205 Neverhood::Scene2206 Neverhood::Scene2207 Neverhood::Scene2208 Neverhood::Scene2242 Neverhood::Scene2247 Neverhood::Scene2401 Neverhood::Scene2402 Neverhood::Scene2403 Neverhood::Scene2406 Neverhood::Scene2501 Neverhood::Scene2504 Neverhood::Scene2609 Neverhood::Scene2701 Neverhood::Scene2702 Neverhood::Scene2703 Neverhood::Scene2704 Neverhood::Scene2706 Neverhood::Scene2732 Neverhood::Scene2801 Neverhood::Scene2802 Neverhood::Scene2803 Neverhood::Scene2803Small Neverhood::Scene2804 Neverhood::Scene2805 Neverhood::Scene2806 Neverhood::Scene2807 Neverhood::Scene2808 Neverhood::Scene2809 Neverhood::Scene2810 Neverhood::Scene2812 Neverhood::Scene2822 Neverhood::Scene2901 Neverhood::Scene3009 Neverhood::Scene3010 Neverhood::Scene3011 Neverhood::SmackerScene Neverhood::StaticScene Neverhood::AnimatedSprite Neverhood::StaticSprite

Public Member Functions

 Entity (NeverhoodEngine *vm, int priority)
 
virtual void draw ()
 
void handleUpdate ()
 
uint32 receiveMessage (int messageNum, const MessageParam &param, Entity *sender)
 
uint32 sendMessage (Entity *receiver, int messageNum, const MessageParam &param)
 
uint32 sendMessage (Entity *receiver, int messageNum, uint32 param)
 
uint32 sendPointMessage (Entity *receiver, int messageNum, const NPoint &param)
 
uint32 sendEntityMessage (Entity *receiver, int messageNum, Entity *param)
 
uint32 getGlobalVar (uint32 nameHash)
 
void setGlobalVar (uint32 nameHash, uint32 value)
 
uint32 getSubVar (uint32 nameHash, uint32 subNameHash)
 
void setSubVar (uint32 nameHash, uint32 subNameHash, uint32 value)
 
void incGlobalVar (uint32 nameHash, int incrValue)
 
void incSubVar (uint32 nameHash, uint32 subNameHash, int incrValue)
 
int getPriority () const
 
bool hasMessageHandler () const
 

Public Attributes

Common::String _updateHandlerCbName
 
Common::String _messageHandlerCbName
 

Protected Member Functions

SoundResourcegetSoundResource (uint index)
 
void loadSound (uint index, uint32 fileHash)
 
void playSound (uint index, uint32 fileHash=0)
 
void stopSound (uint index)
 
bool isSoundPlaying (uint index)
 
void setSoundVolume (uint index, int volume)
 
void setSoundPan (uint index, int pan)
 
void deleteSoundResources ()
 

Protected Attributes

void(Entity::* _updateHandlerCb )()
 
uint32(Entity::* _messageHandlerCb )(int messageNum, const MessageParam &param, Entity *sender)
 
NeverhoodEngine_vm
 
int _priority
 
SoundResource ** _soundResources
 

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