TAMods  0.4
Customization mod for Tribes:Ascend
Public Member Functions | List of all members
ParticleModuleArray Struct Reference

#include <Projectile.h>

Public Member Functions

void add (ParticleModule elem)
 
void remove (number index)
 
void clear ()
 
number size ()
 
ParticleModule get (number n)
 

Detailed Description

An array of particle modules

Member Function Documentation

void ParticleModuleArray::add ( ParticleModule  elem)

Adds a new element to the array

Parameters
elemThe element to add
void ParticleModuleArray::clear ( )

Removes all elements in the array

ParticleModule ParticleModuleArray::get ( number  n)

Returns the n-th element of the array

Parameters
nThe index of the element to return
Returns
The element
void ParticleModuleArray::remove ( number  index)

Removes an element from the array

Parameters
indexThe index of the element to remove, 0-indexed
number ParticleModuleArray::size ( )

Returns the number of elements in the array

Returns
The size of the array

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