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

#include <CollideFuncObjects.h>

Inheritance diagram for Move:
CollideFuncObject

Public Member Functions

 Move (int xFromStep, int yFromStep, int xToStep, int yToStep)
 
void hit (ParticleGroupHandle *from, int xf, int yf, ParticleGroupHandle *to, int xt, int yt)
 
- Public Member Functions inherited from CollideFuncObject
 CollideFuncObject ()
 

Constructor & Destructor Documentation

Move::Move ( int  xFromStep,
int  yFromStep,
int  xToStep,
int  yToStep 
)

Upon collision, move both particles by some offset

Member Function Documentation

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