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

#include <CollideFuncObjects.h>

Inheritance diagram for Convert:
CollideFuncObject

Public Member Functions

 Convert (ParticleGroupHandle *newFromType, ParticleGroupHandle *newToType)
 
void hit (ParticleGroupHandle *from, int xf, int yf, ParticleGroupHandle *to, int xt, int yt)
 
- Public Member Functions inherited from CollideFuncObject
 CollideFuncObject ()
 

Constructor & Destructor Documentation

Convert::Convert ( ParticleGroupHandle newFromType,
ParticleGroupHandle newToType 
)

Upon collision, change the types of each particle

Member Function Documentation

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