1
0

Added cSignEntity into API, added cChunkDesc:GetBlockEntity().

This fixes both #228 and #347.
This commit is contained in:
madmaxoft
2013-11-14 15:37:09 +01:00
parent 79a98627a2
commit 082573771f
16 changed files with 501 additions and 170 deletions

View File

@@ -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;