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 | Public Attributes | List of all members
Node Struct Reference

objects stored in quadtree More...

#include <QuadTree.h>

Public Member Functions

 Node (Point _pos, ParticleGroupHandle *_data, int _id)
 Constructor taking in a position group handle and unique id. More...
 
 Node () = default
 

Public Attributes

Point pos
 The current position of this particle. More...
 
int canCollide = DEFAULT_COLLIDE_REST
 If can collide is > 0 this particle is newly spawned and cannot collide. More...
 
ParticleGroupHandlemGroup
 The handle and identifier for this particles group. More...
 
int mid
 A unique id for this particle. More...
 

Detailed Description

objects stored in quadtree

Constructor & Destructor Documentation

Node::Node ( Point  _pos,
ParticleGroupHandle _data,
int  _id 
)
inline

Constructor taking in a position group handle and unique id.

Node::Node ( )
default

Member Data Documentation

int Node::canCollide = DEFAULT_COLLIDE_REST

If can collide is > 0 this particle is newly spawned and cannot collide.

ParticleGroupHandle* Node::mGroup

The handle and identifier for this particles group.

int Node::mid

A unique id for this particle.

Point Node::pos

The current position of this particle.


The documentation for this struct was generated from the following file: