VOX
A little voxel engine
|
An implementation of the thread wrapper for the thread that handles block updates. More...
#include <BlockUpdateThread.hpp>
Public Member Functions | |
BlockUpdateThread (ClientWorld &world) | |
~BlockUpdateThread () | |
BlockUpdateThread (BlockUpdateThread &other)=delete | |
BlockUpdateThread (BlockUpdateThread &&other)=delete | |
BlockUpdateThread & | operator= (BlockUpdateThread &other)=delete |
An implementation of the thread wrapper for the thread that handles block updates.
This thread will run at 20 ticks per second It is in charge of updating blocks As well a loading/unloading chunks And of course generating new chunks every function called from the loop and init function MUST be thread safe
BlockUpdateThread::BlockUpdateThread | ( | ClientWorld & | world | ) |
BlockUpdateThread::~BlockUpdateThread | ( | ) |
|
delete |
|
delete |
|
delete |