mod-playerbots/src/strategy/generic/TravelStrategy.h
2024-08-04 10:23:36 +08:00

49 lines
1.1 KiB
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_TRAVELSTRATEGY_H
#define _PLAYERBOT_TRAVELSTRATEGY_H
#include "Strategy.h"
class PlayerbotAI;
class TravelStrategy : public Strategy
{
public:
TravelStrategy(PlayerbotAI* botAI);
std::string const getName() override { return "travel"; }
NextAction** getDefaultActions() override;
void InitTriggers(std::vector<TriggerNode*>& triggers) override;
};
class ExploreStrategy : public Strategy
{
public:
ExploreStrategy(PlayerbotAI* botAI) : Strategy(botAI){};
std::string const getName() override { return "explore"; }
};
class MapStrategy : public Strategy
{
public:
MapStrategy(PlayerbotAI* botAI) : Strategy(botAI){};
std::string const getName() override { return "map"; }
};
class MapFullStrategy : public Strategy
{
public:
MapFullStrategy(PlayerbotAI* botAI) : Strategy(botAI){};
std::string const getName() override { return "map full"; }
};
#endif