summaryrefslogtreecommitdiffstats
path: root/src/Entities/Entity.h
diff options
context:
space:
mode:
authorarchshift <admin@archshift.com>2014-04-23 00:59:31 +0200
committerarchshift <admin@archshift.com>2014-04-23 00:59:31 +0200
commita37b36adab85206e025d4ca97f6e64dc7a6974b8 (patch)
treeb265744c9892c7a624439aff2976e9fa618e39b3 /src/Entities/Entity.h
parentFixed indentation and changed m_Fireproof to m_IsFireproof. (diff)
downloadcuberite-a37b36adab85206e025d4ca97f6e64dc7a6974b8.tar
cuberite-a37b36adab85206e025d4ca97f6e64dc7a6974b8.tar.gz
cuberite-a37b36adab85206e025d4ca97f6e64dc7a6974b8.tar.bz2
cuberite-a37b36adab85206e025d4ca97f6e64dc7a6974b8.tar.lz
cuberite-a37b36adab85206e025d4ca97f6e64dc7a6974b8.tar.xz
cuberite-a37b36adab85206e025d4ca97f6e64dc7a6974b8.tar.zst
cuberite-a37b36adab85206e025d4ca97f6e64dc7a6974b8.zip
Diffstat (limited to 'src/Entities/Entity.h')
-rw-r--r--src/Entities/Entity.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/Entities/Entity.h b/src/Entities/Entity.h
index 84a2003d4..4267ed0f6 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 SetFireproofStatus(bool a_IsFireproof);
+
+ bool GetFireproofStatus(void) const { return m_IsFireproof; }
+
/// Puts the entity on fire for the specified amount of ticks
void StartBurning(int a_TicksLeftBurning);