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_RandomMove (int framesPerUpdate, int updateLimit, int xRange, int yRange) | |
![]() | |
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_RandomMove::Update_RandomMove | ( | int | framesPerUpdate, |
int | updateLimit, | ||
int | xRange, | ||
int | yRange | ||
) |
Move a maximum of
xRange | and |
yRange | in either direction, randomly |
|
protectedvirtual |
Implements UpdateFuncObject.