TrinityCore
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
UnitAI.h File Reference
#include "Define.h"
#include "Unit.h"
#include "Containers.h"
#include "EventMap.h"
#include <list>
+ Include dependency graph for UnitAI.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  DefaultTargetSelector
 
struct  SpellTargetSelector
 
struct  NonTankTargetSelector
 
class  UnitAI
 
class  PlayerAI
 
class  SimpleCharmedAI
 

Enumerations

enum  SelectAggroTarget {
  SELECT_TARGET_RANDOM = 0, SELECT_TARGET_TOPAGGRO, SELECT_TARGET_BOTTOMAGGRO, SELECT_TARGET_NEAREST,
  SELECT_TARGET_FARTHEST
}
 

Enumeration Type Documentation

Enumerator
SELECT_TARGET_RANDOM 
SELECT_TARGET_TOPAGGRO 
SELECT_TARGET_BOTTOMAGGRO 
SELECT_TARGET_NEAREST 
SELECT_TARGET_FARTHEST 
34 {
35  SELECT_TARGET_RANDOM = 0, //Just selects a random target
36  SELECT_TARGET_TOPAGGRO, //Selects targes from top aggro to bottom
37  SELECT_TARGET_BOTTOMAGGRO, //Selects targets from bottom aggro to top
40 };
Definition: UnitAI.h:36
Definition: UnitAI.h:37
Definition: UnitAI.h:35
Definition: UnitAI.h:39
Definition: UnitAI.h:38