From 082573771f469cfaef03d22e4281f207beef36c8 Mon Sep 17 00:00:00 2001 From: madmaxoft Date: Thu, 14 Nov 2013 15:37:09 +0100 Subject: Added cSignEntity into API, added cChunkDesc:GetBlockEntity(). This fixes both #228 and #347. --- source/BlockEntities/NoteEntity.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'source/BlockEntities/NoteEntity.h') diff --git a/source/BlockEntities/NoteEntity.h b/source/BlockEntities/NoteEntity.h index 385591df6..84c4972de 100644 --- a/source/BlockEntities/NoteEntity.h +++ b/source/BlockEntities/NoteEntity.h @@ -29,9 +29,13 @@ enum ENUM_NOTE_INSTRUMENTS class cNoteEntity : public cBlockEntity { + typedef cBlockEntity super; public: + + /// Creates a new note entity that is not assigned to a world + cNoteEntity(int a_BlockX, int a_BlockY, int a_BlockZ); + cNoteEntity(int a_X, int a_Y, int a_Z, cWorld * a_World); - virtual ~cNoteEntity(); bool LoadFromJson( const Json::Value& a_Value ); virtual void SaveToJson( Json::Value& a_Value ) override; -- cgit v1.2.3