summaryrefslogtreecommitdiffstats
path: root/source/Entity.h
diff options
context:
space:
mode:
authormadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2013-06-25 08:36:59 +0200
committermadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2013-06-25 08:36:59 +0200
commit4fe7801cfccbfa6f5a42ac2eb919287ef98ea611 (patch)
tree4afeac98622e2a49894164651af7b8d70d91d254 /source/Entity.h
parentActivatorRail is craftable (Patch by tonibm19) (diff)
downloadcuberite-4fe7801cfccbfa6f5a42ac2eb919287ef98ea611.tar
cuberite-4fe7801cfccbfa6f5a42ac2eb919287ef98ea611.tar.gz
cuberite-4fe7801cfccbfa6f5a42ac2eb919287ef98ea611.tar.bz2
cuberite-4fe7801cfccbfa6f5a42ac2eb919287ef98ea611.tar.lz
cuberite-4fe7801cfccbfa6f5a42ac2eb919287ef98ea611.tar.xz
cuberite-4fe7801cfccbfa6f5a42ac2eb919287ef98ea611.tar.zst
cuberite-4fe7801cfccbfa6f5a42ac2eb919287ef98ea611.zip
Diffstat (limited to '')
-rw-r--r--source/Entity.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/source/Entity.h b/source/Entity.h
index 49a7a5b0d..a756d064b 100644
--- a/source/Entity.h
+++ b/source/Entity.h
@@ -161,7 +161,8 @@ public:
inline int GetUniqueID(void) const { return m_UniqueID; }
inline bool IsDestroyed(void) const { return !m_IsInitialized; }
- void Destroy(void);
+ /// Schedules the entity for destroying; if a_ShouldBroadcast is set to true, broadcasts the DestroyEntity packet
+ void Destroy(bool a_ShouldBroadcast = true);
// tolua_end