mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2026-06-08 07:44:23 +00:00
Tested that all functions related to the touched files work will test sqlite on a CI build
24 lines
684 B
C++
24 lines
684 B
C++
#pragma once
|
|
#include "Behavior.h"
|
|
|
|
class AirMovementBehavior final : public Behavior
|
|
{
|
|
public:
|
|
explicit AirMovementBehavior(const uint32_t behavior_id) : Behavior(behavior_id) {}
|
|
|
|
void Handle(BehaviorContext* context, RakNet::BitStream& bitStream, BehaviorBranchContext branch) override;
|
|
|
|
void Calculate(BehaviorContext* context, RakNet::BitStream& bitStream, BehaviorBranchContext branch) override;
|
|
|
|
void Sync(BehaviorContext* context, RakNet::BitStream& bitStream, BehaviorBranchContext branch) override;
|
|
|
|
void Load() override;
|
|
private:
|
|
float m_Timeout;
|
|
|
|
Behavior* m_GroundAction{};
|
|
Behavior* m_HitAction{};
|
|
Behavior* m_HitActionEnemy{};
|
|
Behavior* m_TimeoutAction{};
|
|
};
|