mirror of
https://github.com/DarkflameUniverse/DarkflameServer
synced 2024-08-30 18:43:58 +00:00
b261e63233
* chore: Change entity and component logic to use bitstream references * merge
17 lines
492 B
C++
17 lines
492 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");
|
|
}
|