summaryrefslogtreecommitdiffstats
path: root/source/FurnaceEntity.h
diff options
context:
space:
mode:
authormadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2013-04-01 22:56:25 +0200
committermadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2013-04-01 22:56:25 +0200
commit578560d2132188279e4b0930212edd915bc90008 (patch)
tree2519ecc38e0124bd58916b409f9222ee410c7e5e /source/FurnaceEntity.h
parentHotfix for FS #347. (diff)
downloadcuberite-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/FurnaceEntity.h18
1 files changed, 7 insertions, 11 deletions
diff --git a/source/FurnaceEntity.h b/source/FurnaceEntity.h
index bcdc8d837..8373116d4 100644
--- a/source/FurnaceEntity.h
+++ b/source/FurnaceEntity.h
@@ -32,19 +32,15 @@ public:
static const char * GetClassStatic() { return "cFurnaceEntity"; }
- 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;
- bool StartCooking();
+ bool StartCooking(void);
/// Restarts cooking. Used after the furnace is loaded from storage to set up the internal variables so that cooking continues, if it was active. Returns true if cooking.
bool ContinueCooking(void);