mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2025-08-09 20:24:16 +00:00
pass model component to update
This commit is contained in:
@@ -22,7 +22,7 @@ Action::Action(const AMFArrayValue& arguments) {
|
||||
}
|
||||
}
|
||||
|
||||
void Action::Update(float deltaTime) {
|
||||
void Action::Update(float deltaTime, const ModelComponent& modelComponent) {
|
||||
// Do nothing
|
||||
}
|
||||
|
||||
|
@@ -8,6 +8,7 @@ namespace tinyxml2 {
|
||||
};
|
||||
|
||||
class AMFArrayValue;
|
||||
class ModelComponent;
|
||||
|
||||
/**
|
||||
* @brief Sent if a ControlBehavior message has an Action associated with it
|
||||
@@ -18,7 +19,7 @@ public:
|
||||
Action() = default;
|
||||
Action(const AMFArrayValue& arguments);
|
||||
|
||||
void Update(float deltaTime);
|
||||
void Update(float deltaTime, const ModelComponent& modelComponent);
|
||||
|
||||
bool Done() const noexcept;
|
||||
|
||||
|
Reference in New Issue
Block a user