2009-02-04 10:33:18 -06:00
|
|
|
/*
|
2009-02-04 12:04:12 +01:00
|
|
|
* Copyright (C) 2008-2009 Trinity <http://www.trinitycore.org/>
|
2008-10-14 11:57:03 -05:00
|
|
|
*
|
|
|
|
|
* This program is free software; you can redistribute it and/or modify
|
|
|
|
|
* it under the terms of the GNU General Public License as published by
|
|
|
|
|
* the Free Software Foundation; either version 2 of the License, or
|
|
|
|
|
* (at your option) any later version.
|
|
|
|
|
*
|
|
|
|
|
* This program is distributed in the hope that it will be useful,
|
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
|
* GNU General Public License for more details.
|
|
|
|
|
*
|
|
|
|
|
* You should have received a copy of the GNU General Public License
|
|
|
|
|
* along with this program; if not, write to the Free Software
|
|
|
|
|
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
#ifndef TRINITY_OUTDOORPVPOBJECTIVEAI_H
|
|
|
|
|
#define TRINITY_OUTDOORPVPOBJECTIVEAI_H
|
|
|
|
|
|
2009-01-30 18:10:05 -06:00
|
|
|
#include "NullCreatureAI.h"
|
2008-10-14 11:57:03 -05:00
|
|
|
|
|
|
|
|
class Creature;
|
|
|
|
|
|
2009-01-30 18:10:05 -06:00
|
|
|
class TRINITY_DLL_DECL OutdoorPvPObjectiveAI : public NullCreatureAI
|
2008-10-14 11:57:03 -05:00
|
|
|
{
|
|
|
|
|
public:
|
2009-04-14 19:54:49 -05:00
|
|
|
explicit OutdoorPvPObjectiveAI(Creature *c);
|
2008-10-14 11:57:03 -05:00
|
|
|
|
|
|
|
|
void MoveInLineOfSight(Unit *);
|
|
|
|
|
|
|
|
|
|
static int Permissible(const Creature *);
|
|
|
|
|
};
|
|
|
|
|
#endif
|
2009-02-17 20:07:49 -06:00
|
|
|
|