Particle Game Maker Engine  1.0.0
Enables the user to create their own particle game using a simple and coherent api in the PongChamp scripting language
Public Member Functions | Protected Member Functions | List of all members
Update_Lifetime Class Reference

#include <UpdateFuncObjects.h>

Inheritance diagram for Update_Lifetime:
UpdateFuncObject

Public Member Functions

 Update_Lifetime (int framesPerUpdate, int updateLimit, int framesAlive)
 
- Public Member Functions inherited from UpdateFuncObject
 UpdateFuncObject (int framesPerUpdate, int updateLimit)
 
void update (uint32_t particleId, ParticleGroupHandle *group, int x, int y, unsigned int framesElapsed)
 

Protected Member Functions

void doUpdate (uint32_t particleId, ParticleGroupHandle *group, int x, int y, unsigned int framesElapsed)
 

Constructor & Destructor Documentation

Update_Lifetime::Update_Lifetime ( int  framesPerUpdate,
int  updateLimit,
int  framesAlive 
)

Disappear after

Parameters
framesAliveframes

Member Function Documentation

void Update_Lifetime::doUpdate ( uint32_t  particleId,
ParticleGroupHandle group,
int  x,
int  y,
unsigned int  framesElapsed 
)
protectedvirtual

Implements UpdateFuncObject.


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