VOX
A little voxel engine
Loading...
Searching...
No Matches
ServerBlockUpdateThread Class Reference

An implementation of the thread wrapper for the thread that handles block updates. More...

#include <ServerBlockUpdateThread.hpp>

Collaboration diagram for ServerBlockUpdateThread:
Collaboration graph

Public Member Functions

 ServerBlockUpdateThread (ServerWorld &world)
 
 ~ServerBlockUpdateThread ()
 
 ServerBlockUpdateThread (ServerBlockUpdateThread &other)=delete
 
 ServerBlockUpdateThread (ServerBlockUpdateThread &&other)=delete
 
ServerBlockUpdateThreadoperator= (ServerBlockUpdateThread &other)=delete
 

Detailed Description

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

Constructor & Destructor Documentation

◆ ServerBlockUpdateThread() [1/3]

ServerBlockUpdateThread::ServerBlockUpdateThread ( ServerWorld world)

◆ ~ServerBlockUpdateThread()

ServerBlockUpdateThread::~ServerBlockUpdateThread ( )

◆ ServerBlockUpdateThread() [2/3]

ServerBlockUpdateThread::ServerBlockUpdateThread ( ServerBlockUpdateThread other)
delete

◆ ServerBlockUpdateThread() [3/3]

ServerBlockUpdateThread::ServerBlockUpdateThread ( ServerBlockUpdateThread &&  other)
delete

Member Function Documentation

◆ operator=()

ServerBlockUpdateThread & ServerBlockUpdateThread::operator= ( ServerBlockUpdateThread other)
delete

The documentation for this class was generated from the following files: