mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2024-11-25 06:57:28 +00:00
25 lines
395 B
C
25 lines
395 B
C
|
#pragma once
|
||
|
|
||
|
#include "Behavior.h"
|
||
|
|
||
|
#include <vector>
|
||
|
|
||
|
class CarBoostBehavior final : public Behavior
|
||
|
{
|
||
|
public:
|
||
|
Behavior* m_Action;
|
||
|
float m_Time;
|
||
|
|
||
|
/*
|
||
|
* Inherited
|
||
|
*/
|
||
|
|
||
|
explicit CarBoostBehavior(const uint32_t behaviorId) : Behavior(behaviorId)
|
||
|
{
|
||
|
}
|
||
|
|
||
|
void Handle(BehaviorContext* context, RakNet::BitStream* bitStream, BehaviorBranchContext branch) override;
|
||
|
|
||
|
void Load() override;
|
||
|
};
|