summaryrefslogtreecommitdiffstats
path: root/source/Entity.h
diff options
context:
space:
mode:
authornielsbreu@gmail.com <nielsbreu@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2013-06-15 20:11:27 +0200
committernielsbreu@gmail.com <nielsbreu@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2013-06-15 20:11:27 +0200
commitd88f390b9edc9068560109f89100e11fe438a5e5 (patch)
treed679298aeeb1a0d1e287e9089047dd575676e9c3 /source/Entity.h
parentEntity: Added IsTNT (diff)
downloadcuberite-d88f390b9edc9068560109f89100e11fe438a5e5.tar
cuberite-d88f390b9edc9068560109f89100e11fe438a5e5.tar.gz
cuberite-d88f390b9edc9068560109f89100e11fe438a5e5.tar.bz2
cuberite-d88f390b9edc9068560109f89100e11fe438a5e5.tar.lz
cuberite-d88f390b9edc9068560109f89100e11fe438a5e5.tar.xz
cuberite-d88f390b9edc9068560109f89100e11fe438a5e5.tar.zst
cuberite-d88f390b9edc9068560109f89100e11fe438a5e5.zip
Diffstat (limited to '')
-rw-r--r--source/Entity.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/Entity.h b/source/Entity.h
index b1bcbfd7f..49a7a5b0d 100644
--- a/source/Entity.h
+++ b/source/Entity.h
@@ -91,6 +91,7 @@ public:
bool IsPickup (void) const { return (m_EntityType == etPickup); }
bool IsMob (void) const { return (m_EntityType == etMob); }
bool IsMinecart(void) const { return (m_EntityType == etMinecart); }
+ bool IsTNT (void) const { return (m_EntityType == etTNT); }
/// Returns true if the entity is of the specified class or a subclass (cPawn's IsA("cEntity") returns true)
virtual bool IsA(const char * a_ClassName) const;