|
VOX
A little voxel engine
|
An implementation of the thread wrapper for the thread that handles block updates. More...
#include <ServerBlockUpdateThread.hpp>

Public Member Functions | |
| ServerBlockUpdateThread (ServerWorld &world) | |
| ~ServerBlockUpdateThread () | |
| ServerBlockUpdateThread (ServerBlockUpdateThread &other)=delete | |
| ServerBlockUpdateThread (ServerBlockUpdateThread &&other)=delete | |
| ServerBlockUpdateThread & | operator= (ServerBlockUpdateThread &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
| ServerBlockUpdateThread::ServerBlockUpdateThread | ( | ServerWorld & | world | ) |
| ServerBlockUpdateThread::~ServerBlockUpdateThread | ( | ) |
|
delete |
|
delete |
|
delete |