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

#include <Block.hpp>

Collaboration diagram for BlocksInfo:
Collaboration graph

Public Member Functions

const BlockInfoget (const BlockInfo::Type id)
 
bool hasProperty (const BlockInfo::Type id, const BlockProperties properties)
 
bool hasProperty (const BlockInfo::Type id, const BlockProperties properties, const BlockProperties not_properties)
 

Static Public Member Functions

static BlocksInfogetInstance ()
 

Member Function Documentation

◆ get()

const BlockInfo & BlocksInfo::get ( const BlockInfo::Type  id)
inline

◆ getInstance()

static BlocksInfo & BlocksInfo::getInstance ( )
inlinestatic

◆ hasProperty() [1/2]

bool BlocksInfo::hasProperty ( const BlockInfo::Type  id,
const BlockProperties  properties 
)
inline

◆ hasProperty() [2/2]

bool BlocksInfo::hasProperty ( const BlockInfo::Type  id,
const BlockProperties  properties,
const BlockProperties  not_properties 
)
inline

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