diff options
Diffstat (limited to 'src/World.h')
-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 |