#include <MoleGroup.h>
◆ OMoleGroup()
| OMoleGroup::OMoleGroup |
( |
std::vector< FVector > & | moles, |
|
|
size_t | tickRate ) |
|
explicit |
TickRate: How many moles can pop out per frame. The mole must also be ready to jump to be considered.
◆ ~OMoleGroup()
| OMoleGroup::~OMoleGroup |
( |
| ) |
|
|
inline |
◆ func_80081FF4()
| void OMoleGroup::func_80081FF4 |
( |
s32 | objectIndex | ) |
|
◆ Tick()
| void OMoleGroup::Tick |
( |
void | | ) |
|
|
overridevirtual |
This ticks the mole dirt particles. It must be ran after MoleGroup is done ticking. Otherwise, the dirt particle directions will not randomize The best solution would be for particles to be its own class. But that takes effort Instead, we wait until the last MoleGroup has ticked, then we tick the particles one time.
Warning: Calling this more than one time per frame, will result in doubling the speed
Reimplemented from OObject.
◆ _count
| size_t OMoleGroup::_count = 0 |
|
staticprivate |
◆ _idx
◆ _moles
◆ _tickRate
| size_t OMoleGroup::_tickRate |
The documentation for this class was generated from the following files: