My Project
|
chunk column's height map data More...
#include <ChunkMaxHeight.h>
Public Member Functions | |
ChunkMaxHeight (int16_t nSolidHeight=0, int16_t nMaxHeight=0) | |
int16_t | GetMaxHeight () |
int16_t | GetMaxSolidHeight () |
void | SetHeight (int16_t nHeight, bool bIsTransparent=false) |
void | AddBlockHeight (int16_t nHeight, bool bIsTransparent=false) |
only call this function at load time, since it can not erase height. More... | |
void | ClearHeight () |
clear all height 0 | |
Public Attributes | |
int16_t | m_nSolidHeight |
int16_t | m_nMaxHeight |
chunk column's height map data
void ChunkMaxHeight::AddBlockHeight | ( | int16_t | nHeight, |
bool | bIsTransparent = false |
||
) |
only call this function at load time, since it can not erase height.
use SetHeight if one wants to erase block height to new values.