Fix MovementSwitch Behavior (#927)

This commit is contained in:
David Markowitz
2022-12-28 14:03:07 -08:00
committed by GitHub
parent e41ed68447
commit 0e9c0a8917
2 changed files with 43 additions and 25 deletions

View File

@@ -3,7 +3,7 @@
class MovementSwitchBehavior final : public Behavior
{
public:
private:
/*
* Members
*/
@@ -19,6 +19,17 @@ public:
Behavior* m_jumpAction;
Behavior* m_movingAction;
/**
* @brief Loads a movement type from the database into a behavior
*
* @param movementType The movement type to lookup in the database
* @param behaviorToLoad The Behavior where the result will be stored
*/
Behavior* LoadMovementType(std::string movementType);
public:
/*
* Inherited
*/