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 | List of all members
MoveRandom Class Reference

#include <CollideFuncObjects.h>

Inheritance diagram for MoveRandom:
CollideFuncObject

Public Member Functions

 MoveRandom (unsigned int radius)
 
void hit (ParticleGroupHandle *from, int xf, int yf, ParticleGroupHandle *to, int xt, int yt)
 
- Public Member Functions inherited from CollideFuncObject
 CollideFuncObject ()
 

Constructor & Destructor Documentation

MoveRandom::MoveRandom ( unsigned int  radius)

Move to a random location that is at most

Parameters
radiusunits from the current position

Member Function Documentation

void MoveRandom::hit ( ParticleGroupHandle from,
int  xf,
int  yf,
ParticleGroupHandle to,
int  xt,
int  yt 
)
virtual

What happens when my particle group (from) collides with to particle group (to) (from, xf, yf) is the from particle, (to, xt, yt) is the to particle

Implements CollideFuncObject.


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