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
|
#include <UpdateFuncObjects.h>
Public Member Functions | |
Update_Lifetime (int framesPerUpdate, int updateLimit, int framesAlive) | |
![]() | |
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) |
Update_Lifetime::Update_Lifetime | ( | int | framesPerUpdate, |
int | updateLimit, | ||
int | framesAlive | ||
) |
Disappear after
framesAlive | frames |
|
protectedvirtual |
Implements UpdateFuncObject.