wavelength 1.0.0
Loading...
Searching...
No Matches
particlearms.h
Go to the documentation of this file.
1#pragma once
2
3#include <memory>
4#include <vector>
5
7#include "gfx/tnlgeom.h"
8#include "script/dataarray.h"
9
16public:
26
34
42 void LoadConfig(DataArray *pData);
43
51 void Poll(float flTick);
52
59 void Report();
60
61private:
62 std::vector<std::unique_ptr<ParticleArmsAssembly>> mAssemblies;
63 TnlGeom *mGeom;
64
75 static void MoveCommand(DataArray *pCommand, void *pUserData);
76};
Reference-counted array of script data nodes.
Definition dataarray.h:20
void LoadConfig(DataArray *pData)
Load each assembly from its entry.
void Poll(float flTick)
Advance each assembly to a tick.
~ParticleArms()
Unregister the script command and delete the arms.
ParticleArms(DataArray *pData, TnlGeom *pGeom)
Register the script command and create the arms.
void Report()
Report the use of the particles of each assembly through the debug output.
The geometry of the tracks of the tunnel, which places a cell of a track in the world.
Definition tnlgeom.h:32