diff options
author | madmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2012-03-24 12:14:34 +0100 |
---|---|---|
committer | madmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2012-03-24 12:14:34 +0100 |
commit | b69ac328c06ca77fb4c692f15b0ecc5d4246ec72 (patch) | |
tree | 50fb81d24e7849bed22b1acf04cad62f9b514450 /source/cBlockEntity.h | |
parent | Encapsulated cWorld functions needed in cWorldStorage into an interface, so that cWorldStorage can actually be used outside of MC-Server (such as storage conversion tools and chunk analyzers) (diff) | |
download | cuberite-b69ac328c06ca77fb4c692f15b0ecc5d4246ec72.tar cuberite-b69ac328c06ca77fb4c692f15b0ecc5d4246ec72.tar.gz cuberite-b69ac328c06ca77fb4c692f15b0ecc5d4246ec72.tar.bz2 cuberite-b69ac328c06ca77fb4c692f15b0ecc5d4246ec72.tar.lz cuberite-b69ac328c06ca77fb4c692f15b0ecc5d4246ec72.tar.xz cuberite-b69ac328c06ca77fb4c692f15b0ecc5d4246ec72.tar.zst cuberite-b69ac328c06ca77fb4c692f15b0ecc5d4246ec72.zip |
Diffstat (limited to 'source/cBlockEntity.h')
-rw-r--r-- | source/cBlockEntity.h | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/source/cBlockEntity.h b/source/cBlockEntity.h index 662a6c5eb..3f0190c77 100644 --- a/source/cBlockEntity.h +++ b/source/cBlockEntity.h @@ -41,17 +41,7 @@ protected: , m_BlockType( a_BlockType )
, m_World( a_World )
{}
-
- cBlockEntity(ENUM_BLOCK_ID a_BlockType, int a_X, int a_Y, int a_Z)
- : m_PosX( a_X )
- , m_PosY( a_Y )
- , m_PosZ( a_Z )
- , m_BlockType( a_BlockType )
- , m_World(NULL)
- {}
-
public:
-
virtual ~cBlockEntity() {};
virtual void Destroy() {};
@@ -62,7 +52,6 @@ public: ENUM_BLOCK_ID GetBlockType() { return m_BlockType; }
cWorld * GetWorld(void) const {return m_World; }
- void SetWorld(cWorld * a_World) {m_World = a_World; }
virtual void SaveToJson (Json::Value & a_Value ) = 0;
|