Files
mod-playerbots/src/strategy/generic/FleeStrategy.h
2022-03-12 22:27:09 +01:00

31 lines
873 B
C++

/*
* Copyright (C) 2016+ AzerothCore <www.azerothcore.org>, released under GNU GPL v2 license, you may redistribute it and/or modify it under version 2 of the License, or (at your option), any later version.
*/
#ifndef _PLAYERBOT_FLEESTRATEGY_H
#define _PLAYERBOT_FLEESTRATEGY_H
#include "Strategy.h"
class PlayerbotAI;
class FleeStrategy : public Strategy
{
public:
FleeStrategy(PlayerbotAI* botAI) : Strategy(botAI) { }
void InitTriggers(std::vector<TriggerNode*>& triggers) override;
std::string const getName() override { return "flee"; };
};
class FleeFromAddsStrategy : public Strategy
{
public:
FleeFromAddsStrategy(PlayerbotAI* botAI) : Strategy(botAI) { }
void InitTriggers(std::vector<TriggerNode*>& triggers) override;
std::string const getName() override { return "flee from adds"; };
};
#endif