ScummVM API documentation
ZVision::RegionNode Class Reference
Inheritance diagram for ZVision::RegionNode:
ZVision::ScriptingEffect

Public Member Functions

 RegionNode (ZVision *engine, uint32 key, GraphicsEffect *effect, uint32 delay)
 
bool process (uint32 deltaTimeInMillis) override
 
- Public Member Functions inherited from ZVision::ScriptingEffect
 ScriptingEffect (ZVision *engine, uint32 key, ScriptingEffectType type)
 
uint32 getKey ()
 
ScriptingEffectType getType ()
 
virtual void serialize (Common::WriteStream *stream)
 
virtual void deserialize (Common::SeekableReadStream *stream)
 
virtual bool needsSerialization ()
 
virtual bool stop ()
 
virtual void kill ()
 

Additional Inherited Members

- Public Types inherited from ZVision::ScriptingEffect
enum  ScriptingEffectType {
  SCRIPTING_EFFECT_ANIM = 1, SCRIPTING_EFFECT_AUDIO = 2, SCRIPTING_EFFECT_DISTORT = 4, SCRIPTING_EFFECT_PANTRACK = 8,
  SCRIPTING_EFFECT_REGION = 16, SCRIPTING_EFFECT_TIMER = 32, SCRIPTING_EFFECT_TTYTXT = 64, SCRIPTING_EFFECT_UNKNOWN = 128,
  SCRIPTING_EFFECT_ALL = 255
}
 
- Protected Attributes inherited from ZVision::ScriptingEffect
ZVision_engine
 
uint32 _key
 
ScriptingEffectType _type
 

Member Function Documentation

◆ process()

bool ZVision::RegionNode::process ( uint32  deltaTimeInMillis)
overridevirtual

Decrement the timer by the delta time. If the timer is finished, set the status in _globalState and let this node be deleted

Parameters
deltaTimeInMillisThe number of milliseconds that have passed since last frame
Returns
If true, the node can be deleted after process() finishes

Reimplemented from ZVision::ScriptingEffect.


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