ScummVM API documentation
Wintermute::PartParticle Class Reference
Inheritance diagram for Wintermute::PartParticle:
Wintermute::BaseClass

Public Types

enum  TParticleState { PARTICLE_NORMAL, PARTICLE_FADEIN, PARTICLE_FADEOUT }
 

Public Member Functions

 PartParticle (BaseGame *inGame)
 
bool update (PartEmitter *emitter, uint32 currentTime, uint32 timerDelta)
 
bool display (PartEmitter *emitter)
 
bool setSprite (const Common::String &filename)
 
bool fadeIn (uint32 currentTime, int fadeTime)
 
bool fadeOut (uint32 currentTime, int fadeTime)
 
bool persist (BasePersistenceManager *PersistMgr) override
 
- Public Member Functions inherited from Wintermute::BaseClass
bool setEditorProp (const Common::String &propName, const Common::String &propValue)
 
Common::String getEditorProp (const Common::String &propName, const Common::String &initVal=Common::String())
 
 BaseClass (TDynamicConstructor, TDynamicConstructor)
 
bool parseEditorProperty (char *buffer, bool complete=true)
 
virtual bool saveAsText (BaseDynamicBuffer *buffer, int indent=0)
 
 BaseClass (BaseGame *GameOwner)
 
virtual const char * getClassName ()
 

Public Attributes

float _growthRate
 
bool _exponentialGrowth
 
float _rotation
 
float _angVelocity
 
int32 _alpha1
 
int32 _alpha2
 
Rect32 _border
 
Vector2 _pos
 
float _posZ
 
Vector2 _velocity
 
float _scale
 
BaseSprite_sprite
 
uint32 _creationTime
 
int32 _lifeTime
 
bool _isDead
 
TParticleState _state
 
- Public Attributes inherited from Wintermute::BaseClass
bool _persistable
 
BaseGame_gameRef
 

Additional Inherited Members

- Protected Attributes inherited from Wintermute::BaseClass
Common::HashMap< Common::String, Common::String_editorProps
 
Common::HashMap< Common::String, Common::String >::iterator _editorPropsIter
 

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