#include <noisebas.h>
Public Member Functions | |
NoiseMan () | |
~NoiseMan () | |
BOOL | Initialise () |
void | Destroy () |
NoiseBase * | NoiseGen () |
Private Attributes | |
NoiseBase * | pNoise |
Definition at line 159 of file noisebas.h.
|
Definition at line 118 of file noisebas.cpp.
|
|
Definition at line 123 of file noisebas.cpp. 00124 { 00125 Destroy(); 00126 }
|
|
Definition at line 147 of file noisebas.cpp.
|
|
Definition at line 128 of file noisebas.cpp. 00129 { 00130 if (pNoise==NULL) 00131 { 00132 NoiseGen1 *pNewNoise = new NoiseGen1; 00133 if (pNewNoise!=NULL) 00134 { 00135 if (!pNewNoise->Initialise()) 00136 { 00137 delete pNewNoise; 00138 return FALSE; 00139 } 00140 } 00141 pNoise = pNewNoise; 00142 } 00143 return TRUE; 00144 }
|
|
Definition at line 156 of file noisebas.cpp. 00157 { 00158 return pNoise; 00159 }
|
|
Definition at line 171 of file noisebas.h. |