implement jetpack behavior and remove hardcoded jetpacks (#411)

This commit is contained in:
Avery
2022-01-24 14:02:56 -08:00
committed by GitHub
parent 1e01423a93
commit f6558aa31e
11 changed files with 91 additions and 47 deletions

View File

@@ -49,11 +49,11 @@ public:
* Behavior parameters
*/
float GetFloat(const std::string& name) const;
float GetFloat(const std::string& name, const float defaultValue = 0) const;
bool GetBoolean(const std::string& name) const;
bool GetBoolean(const std::string& name, const bool defaultValue = false) const;
int32_t GetInt(const std::string& name) const;
int32_t GetInt(const std::string& name, const int32_t defaultValue = 0) const;
Behavior* GetAction(const std::string& name) const;