mirror of
https://github.com/SapphireServer/Sapphire.git
synced 2025-04-25 22:17:45 +00:00
20 lines
382 B
C++
20 lines
382 B
C++
#include "StateIdle.h"
|
|
#include "Actor/BNpc.h"
|
|
#include "Logging/Logger.h"
|
|
|
|
using namespace Sapphire::World;
|
|
|
|
void AI::Fsm::StateIdle::onUpdate( Entity::BNpc& bnpc, uint64_t tickCount )
|
|
{
|
|
|
|
}
|
|
|
|
void AI::Fsm::StateIdle::onEnter( Entity::BNpc& bnpc )
|
|
{
|
|
bnpc.setLastRoamTargetReachedTime( Common::Util::getTimeSeconds() );
|
|
}
|
|
|
|
void AI::Fsm::StateIdle::onExit( Entity::BNpc& bnpc )
|
|
{
|
|
}
|
|
|