|
| | BeamPool (int nCount, RndDrawable *pParent, const char *pszName) |
| | Construct a pool and draw every beam under a parent.
|
| | ~BeamPool () override=default |
| | Destroy the pool.
|
| void | LoadConfig (DataArray *pConfig, DataArray *pDefaults, bool bReload, float fScale) |
| | Read the look of the beams and give it to every beam.
|
| | FxPool (int nCount) |
| | Construct a pool of effects, every one of them free.
|
| void | Prepare (Beam *pItem) |
| | Prepare a new effect of the pool.
|
| virtual | ~FxPool ()=default |
| | Destroy the effects.
|
| Beam * | FindOldest () |
| | Report the effect that started first.
|
| Beam * | Pop () |
| | Take an effect off the free list.
|
| Beam * | Start (Args... args) |
| | Take an effect off the free list and start it.
|
| void | Release (Beam *pItem) |
| | Stop an effect and return it to the free list.
|
| void | Free (Beam *pItem) |
| | Return an effect to the pool.
|
template<bool bArg>
class BeamPool< bArg >
Pool of the beams of one family, which share a look and draw under one parent.
The RTTI names the template. The object is 0x90 bytes.
- Template Parameters
-
| bArg | The second template argument of FxPool. Its meaning is not yet recovered. |