TrinityCore
AbstractFollower Struct Reference

#include <AbstractFollower.h>

+ Inheritance diagram for AbstractFollower:

Public Member Functions

 AbstractFollower (Unit *target=nullptr)
 
 ~AbstractFollower ()
 
void SetTarget (Unit *unit)
 
UnitGetTarget () const
 

Private Attributes

Unit_target = nullptr
 

Detailed Description

Definition at line 23 of file AbstractFollower.h.

Constructor & Destructor Documentation

◆ AbstractFollower()

AbstractFollower::AbstractFollower ( Unit target = nullptr)
inline

Definition at line 26 of file AbstractFollower.h.

+ Here is the call graph for this function:

◆ ~AbstractFollower()

AbstractFollower::~AbstractFollower ( )
inline

Definition at line 27 of file AbstractFollower.h.

+ Here is the call graph for this function:

Member Function Documentation

◆ GetTarget()

Unit * AbstractFollower::GetTarget ( ) const
inline

Definition at line 30 of file AbstractFollower.h.

+ Here is the caller graph for this function:

◆ SetTarget()

void AbstractFollower::SetTarget ( Unit unit)

Definition at line 21 of file AbstractFollower.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

Member Data Documentation

◆ _target

Unit* AbstractFollower::_target = nullptr
private

Definition at line 33 of file AbstractFollower.h.


The documentation for this struct was generated from the following files: