mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2025-10-24 16:28:12 +00:00
feat: behavior states (#1918)
This commit is contained in:
@@ -12,6 +12,7 @@ namespace tinyxml2 {
|
||||
|
||||
class AMFArrayValue;
|
||||
class ModelComponent;
|
||||
struct UpdateResult;
|
||||
|
||||
class Strip {
|
||||
public:
|
||||
@@ -33,9 +34,9 @@ public:
|
||||
// Checks the movement logic for whether or not to proceed
|
||||
// Returns true if the movement can continue, false if it needs to wait more.
|
||||
bool CheckMovement(float deltaTime, ModelComponent& modelComponent);
|
||||
void Update(float deltaTime, ModelComponent& modelComponent);
|
||||
void Update(float deltaTime, ModelComponent& modelComponent, UpdateResult& updateResult);
|
||||
void SpawnDrop(LOT dropLOT, Entity& entity);
|
||||
void ProcNormalAction(float deltaTime, ModelComponent& modelComponent);
|
||||
void ProcNormalAction(float deltaTime, ModelComponent& modelComponent, UpdateResult& updateResult);
|
||||
void RemoveStates(ModelComponent& modelComponent) const;
|
||||
|
||||
// 2 actions are required for strips to work
|
||||
|
||||
Reference in New Issue
Block a user