Home | All Classes | Grouped Classes | Index | Search

# Class CL_NumberPool

A number generator pool. More...

Derived from: none
Derived by: none
Group: Core (Math)

#include <ClanLib/core.h>

Construction:

CL_NumberPool | Constructs a number pool.

Operations:

get_number | Return a unique number.
return_number | Pass a number back in so as to beable to reuse the unique number.

Detailed description:

!group=Core/Math! !header=core.h!

It generates unique numbers from a pool of ushort16.

Questions or comments, write to the ClanLib mailing list.