hoa_global::GlobalTarget Class Reference

Represents a target for an item, action, or skill. More...

#include <global_actors.h>

Inheritance diagram for hoa_global::GlobalTarget:

Inheritance graph
[legend]
List of all members.

Public Member Functions

virtual GLOBAL_TARGET GetTargetType ()=0
 A pure virtual function that returns the type of target.
 GlobalTarget ()
virtual ~GlobalTarget ()

Detailed Description

Represents a target for an item, action, or skill.

****************************************************************************

This is an abstract class that all three types of target classes inherit from. Pointers to this class are used as parameters to script functions that

Definition at line 82 of file global_actors.h.


Constructor & Destructor Documentation

hoa_global::GlobalTarget::GlobalTarget (  )  [inline]

Definition at line 84 of file global_actors.h.

virtual hoa_global::GlobalTarget::~GlobalTarget (  )  [inline, virtual]

Definition at line 87 of file global_actors.h.


Member Function Documentation

virtual GLOBAL_TARGET hoa_global::GlobalTarget::GetTargetType (  )  [pure virtual]

A pure virtual function that returns the type of target.

Returns:
The appropriate GLOBAL_TARGET enum for the target type in question
This method is necessary so that GlobalTarget can be an abstract class. Inheriting classes simply need to return a valid target type.

Implemented in hoa_global::GlobalAttackPoint, hoa_global::GlobalActor, and hoa_global::GlobalParty.


The documentation for this class was generated from the following file:
Generated on Fri Jul 6 23:14:25 2007 for Hero of Allacrost by  doxygen 1.5.1