Cuberite
A lightweight, fast and extensible game server for Minecraft
Public Member Functions | Public Attributes | List of all members
cDelayedFluidSimulatorChunkData::cSlot Class Reference

#include <DelayedFluidSimulator.h>

Public Member Functions

bool Add (int a_RelX, int a_RelY, int a_RelZ)
 Adds the specified block unless already present; returns true if added, false if the block was already present. More...
 
bool HasBlock (int a_RelX, int a_RelY, int a_RelZ)
 Returns true if the specified block is stored. More...
 

Public Attributes

cCoordWithIntVector m_Blocks [16]
 Array of block containers, each item stores blocks for one Z coord Int param is the block index (for faster duplicate comparison in Add()) More...
 

Detailed Description

Definition at line 22 of file DelayedFluidSimulator.h.

Member Function Documentation

bool cDelayedFluidSimulatorChunkData::cSlot::Add ( int  a_RelX,
int  a_RelY,
int  a_RelZ 
)

Adds the specified block unless already present; returns true if added, false if the block was already present.

Definition at line 20 of file DelayedFluidSimulator.cpp.

bool cDelayedFluidSimulatorChunkData::cSlot::HasBlock ( int  a_RelX,
int  a_RelY,
int  a_RelZ 
)

Returns true if the specified block is stored.

Member Data Documentation

cCoordWithIntVector cDelayedFluidSimulatorChunkData::cSlot::m_Blocks[16]

Array of block containers, each item stores blocks for one Z coord Int param is the block index (for faster duplicate comparison in Add())

Definition at line 34 of file DelayedFluidSimulator.h.


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