diff options
author | madmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2013-04-01 22:56:25 +0200 |
---|---|---|
committer | madmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2013-04-01 22:56:25 +0200 |
commit | 578560d2132188279e4b0930212edd915bc90008 (patch) | |
tree | 2519ecc38e0124bd58916b409f9222ee410c7e5e /source/DispenserEntity.h | |
parent | Hotfix for FS #347. (diff) | |
download | cuberite-578560d2132188279e4b0930212edd915bc90008.tar cuberite-578560d2132188279e4b0930212edd915bc90008.tar.gz cuberite-578560d2132188279e4b0930212edd915bc90008.tar.bz2 cuberite-578560d2132188279e4b0930212edd915bc90008.tar.lz cuberite-578560d2132188279e4b0930212edd915bc90008.tar.xz cuberite-578560d2132188279e4b0930212edd915bc90008.tar.zst cuberite-578560d2132188279e4b0930212edd915bc90008.zip |
Diffstat (limited to '')
-rw-r--r-- | source/DispenserEntity.h | 16 |
1 files changed, 6 insertions, 10 deletions
diff --git a/source/DispenserEntity.h b/source/DispenserEntity.h index 9e69878b3..9d27c59c4 100644 --- a/source/DispenserEntity.h +++ b/source/DispenserEntity.h @@ -30,17 +30,13 @@ public: virtual ~cDispenserEntity();
virtual void Destroy();
- bool LoadFromFile(cFile & a_File); // deprecated format
-
- bool LoadFromJson(const Json::Value& a_Value );
- virtual void SaveToJson(Json::Value& a_Value ) override;
-
- virtual void SendTo(cClientHandle & a_Client) override;
+ bool LoadFromJson(const Json::Value & a_Value);
- // Returns true if there's any change, forcing the chunk to go dirty.
- bool Tick( float a_Dt );
-
- virtual void UsedBy( cPlayer * a_Player ) override;
+ // cBlockEntity overrides:
+ virtual void SaveToJson(Json::Value & a_Value) override;
+ virtual void SendTo(cClientHandle & a_Client) override;
+ virtual bool Tick(float a_Dt) override;
+ virtual void UsedBy(cPlayer * a_Player) override;
const cItem * GetSlot(int i) const { return &(m_Items[i]); }
|