mirror of
https://github.com/mod-playerbots/mod-playerbots.git
synced 2026-01-22 04:56:22 +00:00
21 lines
502 B
C++
21 lines
502 B
C++
#ifndef _PLAYERBOT_RAIDAQ20TRIGGERCONTEXT_H
|
|
#define _PLAYERBOT_RAIDAQ20TRIGGERCONTEXT_H
|
|
|
|
#include "AiObjectContext.h"
|
|
#include "NamedObjectContext.h"
|
|
#include "RaidAq20Triggers.h"
|
|
|
|
class RaidAq20TriggerContext : public NamedObjectContext<Trigger>
|
|
{
|
|
public:
|
|
RaidAq20TriggerContext()
|
|
{
|
|
creators["aq20 move to crystal"] = &RaidAq20TriggerContext::move_to_crystal;
|
|
}
|
|
|
|
private:
|
|
static Trigger* move_to_crystal(PlayerbotAI* ai) { return new Aq20MoveToCrystalTrigger(ai); }
|
|
};
|
|
|
|
#endif
|