diff options
author | Mattes D <github@xoft.cz> | 2014-04-23 09:46:06 +0200 |
---|---|---|
committer | Mattes D <github@xoft.cz> | 2014-04-23 09:46:06 +0200 |
commit | 0d0e0af2d87bf7cdd34668e7f48480770a527408 (patch) | |
tree | aac476c2553e2b816d88c036812b9139d93ffe35 /src/Entities/Entity.h | |
parent | Updated NetherFort prefabs from the Gallery server. (diff) | |
parent | Renamed getter and setter for IsFireproof. (diff) | |
download | cuberite-0d0e0af2d87bf7cdd34668e7f48480770a527408.tar cuberite-0d0e0af2d87bf7cdd34668e7f48480770a527408.tar.gz cuberite-0d0e0af2d87bf7cdd34668e7f48480770a527408.tar.bz2 cuberite-0d0e0af2d87bf7cdd34668e7f48480770a527408.tar.lz cuberite-0d0e0af2d87bf7cdd34668e7f48480770a527408.tar.xz cuberite-0d0e0af2d87bf7cdd34668e7f48480770a527408.tar.zst cuberite-0d0e0af2d87bf7cdd34668e7f48480770a527408.zip |
Diffstat (limited to 'src/Entities/Entity.h')
-rw-r--r-- | src/Entities/Entity.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/Entities/Entity.h b/src/Entities/Entity.h index 84a2003d4..86efc5a98 100644 --- a/src/Entities/Entity.h +++ b/src/Entities/Entity.h @@ -329,6 +329,11 @@ public: int GetMaxHealth(void) const { return m_MaxHealth; } + /// Sets whether the entity is fireproof + void SetIsFireproof(bool a_IsFireproof); + + bool IsFireproof(void) const { return m_IsFireproof; } + /// Puts the entity on fire for the specified amount of ticks void StartBurning(int a_TicksLeftBurning); |