Movement tweaks

This commit is contained in:
郑佩茹
2023-03-21 13:49:14 -06:00
parent 0c09ba2b2e
commit be5c2ef7d9
5 changed files with 11 additions and 8 deletions

View File

@@ -84,10 +84,10 @@ class MoveOutOfEnemyContactAction : public MovementAction
bool isUseful() override;
};
class SetFacingTargetAction : public MovementAction
class SetFacingTargetAction : public Action
{
public:
SetFacingTargetAction(PlayerbotAI* botAI) : MovementAction(botAI, "set facing") { }
SetFacingTargetAction(PlayerbotAI* botAI) : Action(botAI, "set facing") { }
bool Execute(Event event) override;
bool isUseful() override;