.. _program_listing_file_libs_mcg_include_mcg_Door.h: Program Listing for File Door.h =============================== |exhale_lsh| :ref:`Return to documentation for file ` (``libs/mcg/include/mcg/Door.h``) .. |exhale_lsh| unicode:: U+021B0 .. UPWARDS ARROW WITH TIP LEFTWARDS .. code-block:: cpp #pragma once #include "Block.h" class Door : public Block { private: bool powered; bool open; std::string facing; public: void virtual toSemanticMapJSON(nlohmann::json& json_base); void virtual toLowLevelMapJSON(nlohmann::json& json_base); Door(Pos& pos, bool open = false, bool powered = false, std::string name = "dark_oak_door", std::string facing = "south"); ~Door(); };