summaryrefslogtreecommitdiffstats
path: root/src/Entities/Minecart.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/Entities/Minecart.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/Entities/Minecart.h b/src/Entities/Minecart.h
index b1b48be4e..87d375c68 100644
--- a/src/Entities/Minecart.h
+++ b/src/Entities/Minecart.h
@@ -77,10 +77,16 @@ class cEmptyMinecart :
public:
CLASS_PROTODEF(cEmptyMinecart);
- cEmptyMinecart(double a_X, double a_Y, double a_Z);
+ cEmptyMinecart(double a_X, double a_Y, double a_Z, const cItem & a_Content, int a_Height);
+ cItem GetContent(void) const {return m_Content;}
+ int GetBlockHeight(void) const {return m_Height;}
// cEntity overrides:
virtual void OnRightClicked(cPlayer & a_Player) override;
+protected:
+
+ const cItem & m_Content;
+ int m_Height;
} ;