mirror of
https://github.com/SapphireServer/Sapphire.git
synced 2025-04-26 06:27:45 +00:00
21 lines
382 B
C++
21 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 )
|
||
|
{
|
||
|
}
|
||
|
|