mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2025-10-20 22:38:08 +00:00
ad a bunch of update methods
This commit is contained in:
@@ -22,6 +22,14 @@ Action::Action(const AMFArrayValue& arguments) {
|
||||
}
|
||||
}
|
||||
|
||||
void Action::Update(float deltaTime) {
|
||||
// Do nothing
|
||||
}
|
||||
|
||||
bool Action::Done() const noexcept {
|
||||
return true;
|
||||
}
|
||||
|
||||
void Action::SendBehaviorBlocksToClient(AMFArrayValue& args) const {
|
||||
auto* const actionArgs = args.PushArray();
|
||||
actionArgs->Insert("Type", m_Type);
|
||||
|
@@ -17,6 +17,11 @@ class Action {
|
||||
public:
|
||||
Action() = default;
|
||||
Action(const AMFArrayValue& arguments);
|
||||
|
||||
void Update(float deltaTime);
|
||||
|
||||
bool Done() const noexcept;
|
||||
|
||||
[[nodiscard]] const std::string& GetType() const { return m_Type; };
|
||||
[[nodiscard]] const std::string& GetValueParameterName() const { return m_ValueParameterName; };
|
||||
[[nodiscard]] const std::string& GetValueParameterString() const { return m_ValueParameterString; };
|
||||
|
Reference in New Issue
Block a user