ad a bunch of update methods

This commit is contained in:
David Markowitz
2024-11-02 21:31:54 -07:00
parent af943278fb
commit 06897eb2ae
10 changed files with 48 additions and 0 deletions

View File

@@ -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);

View File

@@ -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; };