From 888db4e2417a3bd2a21d9f01c44e538f6c837b99 Mon Sep 17 00:00:00 2001 From: Quentin Bazin Date: Mon, 17 Feb 2020 15:40:34 +0900 Subject: [PATCH] [Block] Removed unused properties. --- common/include/world/Block.hpp | 6 ------ 1 file changed, 6 deletions(-) diff --git a/common/include/world/Block.hpp b/common/include/world/Block.hpp index f8abd84a..3322eeef 100644 --- a/common/include/world/Block.hpp +++ b/common/include/world/Block.hpp @@ -65,9 +65,6 @@ class Block : public ISerializable { std::string modName() const { return m_name.substr(0, m_name.find_first_of(":")); } - s8 selectedFace() const { return m_selectedFace; } - void setSelected(bool isSelected, s8 face) { m_isSelected = isSelected; m_selectedFace = face; } - bool isOpaque() const { return m_id != 0 && m_isOpaque && m_drawType != BlockDrawType::XShape; } void setOpaque(bool isOpaque) { m_isOpaque = isOpaque; } @@ -109,9 +106,6 @@ class Block : public ISerializable { std::string m_name; std::string m_label; - bool m_isSelected = false; - s8 m_selectedFace = -1; - std::string m_itemDrop; u16 m_itemDropAmount;