Entity: Added IsTNT
Once again I wasn't paying attention.. git-svn-id: http://mc-server.googlecode.com/svn/trunk@1594 0a769ca7-a7f5-676a-18bf-c427514a06d6
This commit is contained in:
parent
07a1ffb499
commit
d88f390b9e
@ -1,6 +1,6 @@
|
||||
/*
|
||||
** Lua binding: AllToLua
|
||||
** Generated automatically by tolua++-1.0.92 on 06/13/13 08:12:34.
|
||||
** Generated automatically by tolua++-1.0.92 on 06/15/13 20:05:14.
|
||||
*/
|
||||
|
||||
/* Exported function */
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user