Cuberite
A lightweight, fast and extensible game server for Minecraft
|
Encapsulates a map decorator. More...
#include <Map.h>
Public Types | |
enum class | eType { E_TYPE_PLAYER = 0x00 , E_TYPE_ITEM_FRAME = 0x01 , E_TYPE_PLAYER_OUTSIDE = 0x06 } |
Public Member Functions | |
cMapDecorator (eType a_Type, unsigned int a_X, unsigned int a_Z, int a_Rot) | |
unsigned int | GetPixelX (void) const |
unsigned int | GetPixelZ (void) const |
int | GetRot (void) const |
eType | GetType (void) const |
Private Attributes | |
unsigned int | m_PixelX |
unsigned int | m_PixelZ |
int | m_Rot |
eType | m_Type |
Encapsulates a map decorator.
A map decorator represents an object drawn on the map that can move freely. (e.g. player trackers and item frame pointers)
Excluding manually placed decorators, decorators are automatically managed (allocated and freed) by their parent cMap instance.
|
strong |
|
inline |