mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2025-12-30 00:12:36 +00:00
working basic behaviors
This commit is contained in:
@@ -28,13 +28,16 @@ public:
|
||||
|
||||
const std::vector<Action>& GetActions() const { return m_Actions; }
|
||||
const Action& GetNextAction() const { DluAssert(m_NextActionIndex < m_Actions.size()); return m_Actions[m_NextActionIndex]; }
|
||||
const Action& GetPreviousAction() const;
|
||||
|
||||
void IncrementAction();
|
||||
void Spawn(LOT object, Entity& entity);
|
||||
void Update(float deltaTime, ModelComponent& modelComponent);
|
||||
void SpawnDrop(LOT dropLOT, Entity& entity);
|
||||
void ProcNormalAction(float deltaTime, ModelComponent& modelComponent);
|
||||
void RemoveStates(ModelComponent& modelComponent) const;
|
||||
private:
|
||||
bool m_WaitingForAction{ false };
|
||||
float m_PausedTime{ 0.0f };
|
||||
size_t m_NextActionIndex{ 0 };
|
||||
std::vector<Action> m_Actions;
|
||||
|
||||
Reference in New Issue
Block a user