diff options
author | Tiger Wang <ziwei.tiger@hotmail.co.uk> | 2015-03-05 22:21:39 +0100 |
---|---|---|
committer | Tiger Wang <ziwei.tiger@hotmail.co.uk> | 2015-03-05 22:21:39 +0100 |
commit | f3da0cf1ae96048bb84a083099faec0b0a736bf1 (patch) | |
tree | c18dd3120d26e49e9c0634b87054a4fc14e6969b /src/World.h | |
parent | Handle client 'leave bed' request (diff) | |
download | cuberite-f3da0cf1ae96048bb84a083099faec0b0a736bf1.tar cuberite-f3da0cf1ae96048bb84a083099faec0b0a736bf1.tar.gz cuberite-f3da0cf1ae96048bb84a083099faec0b0a736bf1.tar.bz2 cuberite-f3da0cf1ae96048bb84a083099faec0b0a736bf1.tar.lz cuberite-f3da0cf1ae96048bb84a083099faec0b0a736bf1.tar.xz cuberite-f3da0cf1ae96048bb84a083099faec0b0a736bf1.tar.zst cuberite-f3da0cf1ae96048bb84a083099faec0b0a736bf1.zip |
Diffstat (limited to '')
-rw-r--r-- | src/World.h | 18 |
1 files changed, 1 insertions, 17 deletions
diff --git a/src/World.h b/src/World.h index 8b33cea58..3cac71a36 100644 --- a/src/World.h +++ b/src/World.h @@ -45,7 +45,6 @@ class cEntity; class cBlockEntity; class cWorldGenerator; // The generator that actually generates the chunks for a single world class cChunkGenerator; // The thread responsible for generating chunks -class cChunkInterface; class cBeaconEntity; class cChestEntity; class cDispenserEntity; @@ -141,21 +140,6 @@ public: std::vector<Vector3i> m_SendQueue; }; - class cTaskTryAwakeSleepingPlayers : - public cTask - { - public: - cTaskTryAwakeSleepingPlayers(const Vector3i & a_Position, cChunkInterface & a_ChunkInterface); - - protected: - // cTask overrides: - virtual void Run(cWorld & a_World) override; - - private: - Vector3i m_Position; - cChunkInterface & m_ChunkInterface; - }; - static const char * GetClassStatic(void) // Needed for ManualBindings's ForEach templates { @@ -711,7 +695,7 @@ public: /** Queues a task onto the tick thread, with the specified delay. The task object will be deleted once the task is finished */ - virtual void ScheduleTask(int a_DelayTicks, cTask * a_Task) override; + void ScheduleTask(int a_DelayTicks, cTask * a_Task); /** Returns the number of chunks loaded */ int GetNumChunks() const; // tolua_export |