DarkflameServer/dGame/dBehaviors/MovementSwitchBehavior.h

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

32 lines
539 B
C
Raw Normal View History

#pragma once
#include "Behavior.h"
class MovementSwitchBehavior final : public Behavior
{
public:
/*
* Members
*/
Behavior* m_airAction;
2022-07-28 13:39:57 +00:00
Behavior* m_doubleJumpAction;
Behavior* m_fallingAction;
Behavior* m_groundAction;
Behavior* m_jetpackAction;
Behavior* m_jumpAction;
2022-07-28 13:39:57 +00:00
/*
* Inherited
*/
explicit MovementSwitchBehavior(const uint32_t behavior_id) : Behavior(behavior_id) {
}
2022-07-28 13:39:57 +00:00
void Handle(BehaviorContext* context, RakNet::BitStream* bitStream, BehaviorBranchContext branch) override;
void Load() override;
};