diff options
author | Mattes D <github@xoft.cz> | 2014-10-19 11:46:38 +0200 |
---|---|---|
committer | Mattes D <github@xoft.cz> | 2014-10-19 11:46:38 +0200 |
commit | ebd31ff1321aeb23b5698d74c08f599a2fa62988 (patch) | |
tree | 4e62f334b5cdcf7d7c2c8a7a832211afc724d3ba /src/Entities/Entity.h | |
parent | Bindings: Removed obsolete codegen files. (diff) | |
download | cuberite-ebd31ff1321aeb23b5698d74c08f599a2fa62988.tar cuberite-ebd31ff1321aeb23b5698d74c08f599a2fa62988.tar.gz cuberite-ebd31ff1321aeb23b5698d74c08f599a2fa62988.tar.bz2 cuberite-ebd31ff1321aeb23b5698d74c08f599a2fa62988.tar.lz cuberite-ebd31ff1321aeb23b5698d74c08f599a2fa62988.tar.xz cuberite-ebd31ff1321aeb23b5698d74c08f599a2fa62988.tar.zst cuberite-ebd31ff1321aeb23b5698d74c08f599a2fa62988.zip |
Diffstat (limited to '')
-rw-r--r-- | src/Entities/Entity.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/Entities/Entity.h b/src/Entities/Entity.h index f0577aba2..07754791d 100644 --- a/src/Entities/Entity.h +++ b/src/Entities/Entity.h @@ -172,13 +172,13 @@ public: /// 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; - /// Returns the topmost class name for the object - virtual const char * GetClass(void) const; - - // Returns the class name of this class + /** Returns the class name of this class */ static const char * GetClassStatic(void); - /// Returns the topmost class's parent class name for the object. cEntity returns an empty string (no parent). + /** Returns the topmost class name for the object */ + virtual const char * GetClass(void) const; + + /** Returns the topmost class's parent class name for the object. cEntity returns an empty string (no parent). */ virtual const char * GetParentClass(void) const; cWorld * GetWorld(void) const { return m_World; } |