mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2024-11-10 18:28:21 +00:00
0545adfac3
Have fun!
20 lines
495 B
C++
20 lines
495 B
C++
#include "EndBehavior.h"
|
|
|
|
#include "BehaviorContext.h"
|
|
#include "BehaviorBranchContext.h"
|
|
|
|
void EndBehavior::Handle(BehaviorContext* context, RakNet::BitStream* bitStream, BehaviorBranchContext branch)
|
|
{
|
|
context->InvokeEnd(this->m_startBehavior);
|
|
}
|
|
|
|
void EndBehavior::Calculate(BehaviorContext* context, RakNet::BitStream* bitStream, BehaviorBranchContext branch)
|
|
{
|
|
context->InvokeEnd(this->m_startBehavior);
|
|
}
|
|
|
|
void EndBehavior::Load()
|
|
{
|
|
this->m_startBehavior = GetInt("start_action");
|
|
}
|