summaryrefslogtreecommitdiffstats
path: root/source/BlockEntities/NoteEntity.h
diff options
context:
space:
mode:
Diffstat (limited to 'source/BlockEntities/NoteEntity.h')
-rw-r--r--source/BlockEntities/NoteEntity.h6
1 files changed, 5 insertions, 1 deletions
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;