mirror of
https://github.com/mod-playerbots/mod-playerbots
synced 2025-11-29 15:58:20 +08:00
bwl strategy
This commit is contained in:
@@ -2,7 +2,8 @@
|
||||
#define _PLAYERBOT_RAIDSTRATEGYCONTEXT_H_
|
||||
|
||||
#include "Strategy.h"
|
||||
#include "RaidNaxxStrategy.h"
|
||||
#include "raids/blackwinglair/RaidBwlStrategy.h"
|
||||
#include "raids/naxxramas/RaidNaxxStrategy.h"
|
||||
|
||||
class RaidStrategyContext : public NamedObjectContext<Strategy>
|
||||
{
|
||||
@@ -10,9 +11,11 @@ class RaidStrategyContext : public NamedObjectContext<Strategy>
|
||||
RaidStrategyContext() : NamedObjectContext<Strategy>(false, true)
|
||||
{
|
||||
creators["naxx"] = &RaidStrategyContext::naxx;
|
||||
creators["bwl"] = &RaidStrategyContext::bwl;
|
||||
}
|
||||
private:
|
||||
static Strategy* naxx(PlayerbotAI* botAI) { return new RaidNaxxStrategy(botAI); }
|
||||
static Strategy* bwl(PlayerbotAI* botAI) { return new RaidBwlStrategy(botAI); }
|
||||
};
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user