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

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

#include <BlockUpdateThread.hpp>

Collaboration diagram for BlockUpdateThread:
Collaboration graph

Public Member Functions

 BlockUpdateThread (ClientWorld &world)
 
 ~BlockUpdateThread ()
 
 BlockUpdateThread (BlockUpdateThread &other)=delete
 
 BlockUpdateThread (BlockUpdateThread &&other)=delete
 
BlockUpdateThreadoperator= (BlockUpdateThread &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

◆ BlockUpdateThread() [1/3]

BlockUpdateThread::BlockUpdateThread ( ClientWorld world)

◆ ~BlockUpdateThread()

BlockUpdateThread::~BlockUpdateThread ( )

◆ BlockUpdateThread() [2/3]

BlockUpdateThread::BlockUpdateThread ( BlockUpdateThread other)
delete

◆ BlockUpdateThread() [3/3]

BlockUpdateThread::BlockUpdateThread ( BlockUpdateThread &&  other)
delete

Member Function Documentation

◆ operator=()

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

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