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: