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_RandomMove Class Reference

#include <UpdateFuncObjects.h>

Inheritance diagram for Update_RandomMove:
UpdateFuncObject

Public Member Functions

 Update_RandomMove (int framesPerUpdate, int updateLimit, int xRange, int yRange)
 
- 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_RandomMove::Update_RandomMove ( int  framesPerUpdate,
int  updateLimit,
int  xRange,
int  yRange 
)

Move a maximum of

Parameters
xRangeand
yRangein either direction, randomly

Member Function Documentation

void Update_RandomMove::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: