1
Fork 0
mirror of https://github.com/SapphireServer/Sapphire.git synced 2025-05-18 08:27:45 +00:00
sapphire/src/world/Task/TestTask.cpp

27 lines
387 B
C++
Raw Normal View History

#include "TestTask.h"
#include <Logging/Logger.h>
using namespace Sapphire::World;
TestTask::TestTask( uint64_t delayTime ) : Task( delayTime )
{
}
void TestTask::onQueue()
{
Logger::debug( "Queueing a TestTask!" );
}
void TestTask::execute()
{
Logger::debug( "Executing a TestTask after {}ms", getDelayTimeMs() );
}
std::string TestTask::toString()
{
return "TestTask";
}