Lodestone.Level
Loading...
Searching...
No Matches
lodestone::level::block::blocks::AirBlock Class Reference

#include <AirBlock.h>

Inheritance diagram for lodestone::level::block::blocks::AirBlock:
Collaboration diagram for lodestone::level::block::blocks::AirBlock:

Public Member Functions

constexpr AirBlock (const common::registry::Identifier *id, const material::Material &material, const properties::definition::ObjectDefinition *definition)
constexpr bool heightmapShouldIgnore () const override
bool hasCollision () const override
Public Member Functions inherited from lodestone::level::block::blocks::TranslucentBlock
constexpr TranslucentBlock (const lodestone::common::registry::Identifier *id, const lodestone::level::material::Material &material, const properties::definition::ObjectDefinition *definition)
constexpr bool isTransparent () const override
Public Member Functions inherited from lodestone::level::block::Block
constexpr Block (const common::registry::Identifier *id, const material::Material &material, const properties::definition::ObjectDefinition *definition)
constexpr ~Block () override=default
constexpr const common::registry::Identifier * getID () const
constexpr std::string getIDString () const
constexpr material::Material getMaterial () const
std::string toString () const override
constexpr const item::block::BlockItem * getItem () const
Public Member Functions inherited from lodestone::common::string::StringSerializable
constexpr StringSerializable ()=default
virtual constexpr ~StringSerializable ()=default

Additional Inherited Members

Properties inherited from lodestone::level::block::Block
 :definition::ObjectDefinition *definition

Constructor & Destructor Documentation

◆ AirBlock()

lodestone::level::block::blocks::AirBlock::AirBlock ( const common::registry::Identifier * id,
const material::Material & material,
const properties::definition::ObjectDefinition * definition )
inlineconstexpr
13: TranslucentBlock(id, material, definition) {
14 };
constexpr TranslucentBlock(const lodestone::common::registry::Identifier *id, const lodestone::level::material::Material &material, const properties::definition::ObjectDefinition *definition)
Definition TranslucentBlock.h:13

Member Function Documentation

◆ hasCollision()

bool lodestone::level::block::blocks::AirBlock::hasCollision ( ) const
inlineoverridevirtual

Reimplemented from lodestone::level::block::Block.

20 {
21 return false;
22 }

◆ heightmapShouldIgnore()

bool lodestone::level::block::blocks::AirBlock::heightmapShouldIgnore ( ) const
inlineconstexproverridevirtual

Reimplemented from lodestone::level::block::Block.

16 {
17 return true;
18 };

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