aboutsummaryrefslogtreecommitdiff
path: root/src/game/TotemAI.h
diff options
context:
space:
mode:
authormaximius <none@none>2009-10-17 15:51:44 -0700
committermaximius <none@none>2009-10-17 15:51:44 -0700
commite585187b248f48b3c6e9247b49fa07c6565d65e5 (patch)
tree637c5b7ddacf41040bef4ea4f75a97da64c6a9bc /src/game/TotemAI.h
parent26b5e033ffde3d161382fc9addbfa99738379641 (diff)
*Backed out changeset 3be01fb200a5
--HG-- branch : trunk
Diffstat (limited to 'src/game/TotemAI.h')
-rw-r--r--src/game/TotemAI.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/game/TotemAI.h b/src/game/TotemAI.h
index 4f652f23cce..003f5d5ca13 100644
--- a/src/game/TotemAI.h
+++ b/src/game/TotemAI.h
@@ -17,21 +17,29 @@
* 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_TOTEMAI_H
#define TRINITY_TOTEMAI_H
+
#include "CreatureAI.h"
#include "Timer.h"
+
class Creature;
class Totem;
+
class TRINITY_DLL_DECL TotemAI : public CreatureAI
{
public:
+
explicit TotemAI(Creature *c);
+
void MoveInLineOfSight(Unit *);
void AttackStart(Unit *);
void EnterEvadeMode();
+
void UpdateAI(const uint32);
static int Permissible(const Creature *);
+
private:
uint64 i_victimGuid;
};