ScummVM API documentation
Saga2::SpellInstance Class Reference

Public Member Functions

 SpellInstance (SpellCaster *newCaster, SpellTarget *newTarget, SpellID)
 
 SpellInstance (SpellCaster *newCaster, GameObject &newTarget, SpellID)
 
 SpellInstance (SpellCaster *newCaster, GameObject *newTarget, SpellID)
 
 SpellInstance (SpellCaster *newCaster, TilePoint &newTarget, SpellID)
 
 SpellInstance (StorageSpellInstance &ssi)
 
void init ()
 
void initEffect (TilePoint)
 
void readEffect (Common::InSaveFile *in, uint16 eListSize)
 
void writeEffect (Common::MemoryWriteStreamDynamic *out)
 
void termEffect ()
 
size_t saveSize ()
 
bool buildList ()
 
bool updateStates (int32 deltaTime)
 

Public Attributes

EffectDisplayPrototype * _effect
 
SpellDisplayPrototype * _dProto
 
SpellCaster * _caster
 
SpellTarget * _target
 
GameWorld * _world
 
SpellAge _age
 
EffectronList _eList
 
SpellID _spell
 
SpellAge _maxAge
 
int16 _effSeq
 

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