mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2025-08-06 10:44:08 +00:00
Public release of the DLU server code!
Have fun!
This commit is contained in:
32
dGame/dBehaviors/MovementSwitchBehavior.h
Normal file
32
dGame/dBehaviors/MovementSwitchBehavior.h
Normal file
@@ -0,0 +1,32 @@
|
||||
#pragma once
|
||||
#include "Behavior.h"
|
||||
|
||||
class MovementSwitchBehavior final : public Behavior
|
||||
{
|
||||
public:
|
||||
/*
|
||||
* Members
|
||||
*/
|
||||
Behavior* m_airAction;
|
||||
|
||||
Behavior* m_doubleJumpAction;
|
||||
|
||||
Behavior* m_fallingAction;
|
||||
|
||||
Behavior* m_groundAction;
|
||||
|
||||
Behavior* m_jetpackAction;
|
||||
|
||||
Behavior* m_jumpAction;
|
||||
|
||||
/*
|
||||
* Inherited
|
||||
*/
|
||||
explicit MovementSwitchBehavior(const uint32_t behavior_id) : Behavior(behavior_id)
|
||||
{
|
||||
}
|
||||
|
||||
void Handle(BehaviorContext* context, RakNet::BitStream* bitStream, BehaviorBranchContext branch) override;
|
||||
|
||||
void Load() override;
|
||||
};
|
Reference in New Issue
Block a user