diff options
author | Tiger Wang <ziwei.tiger@hotmail.co.uk> | 2014-05-31 23:28:51 +0200 |
---|---|---|
committer | Tiger Wang <ziwei.tiger@hotmail.co.uk> | 2014-05-31 23:28:51 +0200 |
commit | 8bff3e5af220070ecc789ef551c0b8428b8953ef (patch) | |
tree | 4e0b04d1595f8441a9ca5f319ea94244143294db /src/Entities/Entity.h | |
parent | Very minor code changes (diff) | |
download | cuberite-8bff3e5af220070ecc789ef551c0b8428b8953ef.tar cuberite-8bff3e5af220070ecc789ef551c0b8428b8953ef.tar.gz cuberite-8bff3e5af220070ecc789ef551c0b8428b8953ef.tar.bz2 cuberite-8bff3e5af220070ecc789ef551c0b8428b8953ef.tar.lz cuberite-8bff3e5af220070ecc789ef551c0b8428b8953ef.tar.xz cuberite-8bff3e5af220070ecc789ef551c0b8428b8953ef.tar.zst cuberite-8bff3e5af220070ecc789ef551c0b8428b8953ef.zip |
Diffstat (limited to 'src/Entities/Entity.h')
-rw-r--r-- | src/Entities/Entity.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/Entities/Entity.h b/src/Entities/Entity.h index 0c393c0f5..da8256606 100644 --- a/src/Entities/Entity.h +++ b/src/Entities/Entity.h @@ -323,6 +323,9 @@ public: /** Detects the time for application of cacti damage */ virtual void DetectCacti(void); + + /** Detects whether we are in a portal block and begins teleportation procedures if so */ + virtual void DetectPortal(void); /// Handles when the entity is in the void virtual void TickInVoid(cChunk & a_Chunk); @@ -365,6 +368,9 @@ public: /// Teleports to the coordinates specified virtual void TeleportToCoords(double a_PosX, double a_PosY, double a_PosZ); + + /** Moves entity to specified world */ + virtual bool MoveToWorld(const AString & a_WorldName, cWorld * a_World = NULL); // tolua_end |