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

#include <TranslucentBlock.h>

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

Public Member Functions

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
virtual constexpr bool heightmapShouldIgnore () const
virtual constexpr bool hasCollision () 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

◆ TranslucentBlock()

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

Member Function Documentation

◆ isTransparent()

bool lodestone::level::block::blocks::TranslucentBlock::isTransparent ( ) const
inlineconstexproverridevirtual

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

18 {
19 return true;
20 }

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