RaySupreme Script API
 All Data Structures Functions Pages
Public Member Functions
FloatList Class Reference

Public Member Functions

 FloatList ()
 
void clear (void)
 
void append (float value)
 
float at (int i)
 
int count (void)
 

Detailed Description

The FloatList class contains a list of float values.

Constructor & Destructor Documentation

FloatList::FloatList ( )

Creates an empty list.

Member Function Documentation

void FloatList::append ( float  value)

Appends a float value to the end of the list.

Parameters
itemThe float value to be appended.
float FloatList::at ( int  i)

Returns the float at the specified index.

Parameters
Theindex to be retrived.
Returns
The float value at the index position or null if the index was out of bounds.
void FloatList::clear ( void  )

Clears the list.

int FloatList::count ( void  )

Returns the number of floats inside the list.

Returns
The element count of this list.