diff options
author | Mattes D <github@xoft.cz> | 2015-06-05 10:12:10 +0200 |
---|---|---|
committer | Mattes D <github@xoft.cz> | 2015-06-05 10:12:10 +0200 |
commit | 52672855298fc489ee73d78b8704927457cb8b6e (patch) | |
tree | 9a092147529f5d5fc08a2234cb3f8850d49d0041 /src/BlockEntities/FurnaceEntity.h | |
parent | Debuggers: Added a LineBlockTracer console test command. (diff) | |
parent | Merge remote-tracking branch 'upstream/master' (diff) | |
download | cuberite-52672855298fc489ee73d78b8704927457cb8b6e.tar cuberite-52672855298fc489ee73d78b8704927457cb8b6e.tar.gz cuberite-52672855298fc489ee73d78b8704927457cb8b6e.tar.bz2 cuberite-52672855298fc489ee73d78b8704927457cb8b6e.tar.lz cuberite-52672855298fc489ee73d78b8704927457cb8b6e.tar.xz cuberite-52672855298fc489ee73d78b8704927457cb8b6e.tar.zst cuberite-52672855298fc489ee73d78b8704927457cb8b6e.zip |
Diffstat (limited to 'src/BlockEntities/FurnaceEntity.h')
-rw-r--r-- | src/BlockEntities/FurnaceEntity.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/BlockEntities/FurnaceEntity.h b/src/BlockEntities/FurnaceEntity.h index 8b3ba3e36..8734d763c 100644 --- a/src/BlockEntities/FurnaceEntity.h +++ b/src/BlockEntities/FurnaceEntity.h @@ -101,6 +101,11 @@ public: m_TimeCooked = a_TimeCooked; } + void SetLoading(bool a_IsLoading) + { + m_IsLoading = a_IsLoading; + } + protected: /** Block meta of the block currently represented by this entity */ @@ -129,6 +134,9 @@ protected: /** Amount of ticks that the current fuel has been burning */ int m_TimeBurned; + + /** Is the block currently being loaded into the world? */ + bool m_IsLoading; /** Sends the specified progressbar value to all clients of the window */ void BroadcastProgress(short a_ProgressbarID, short a_Value); |