Planeshift
Public Member Functions | Protected Member Functions | Protected Attributes

AttackerHistory Class Reference

A record in a gemActor's attacker history. More...

#include <gem.h>

List of all members.

Public Member Functions

gemActorAttacker () const
virtual float Damage () const =0
csTicks TimeOfAttack () const
virtual ~AttackerHistory ()

Protected Member Functions

 AttackerHistory (gemActor *attacker)

Protected Attributes

csWeakRef< gemActorattacker_ref
csTicks timeOfAttack

Detailed Description

A record in a gemActor's attacker history.

This is abstract; entries are classified as either normal damage or DOT.

Definition at line 1083 of file gem.h.


Constructor & Destructor Documentation

virtual AttackerHistory::~AttackerHistory ( ) [inline, virtual]

Definition at line 1086 of file gem.h.

AttackerHistory::AttackerHistory ( gemActor attacker) [inline, protected]

Definition at line 1098 of file gem.h.


Member Function Documentation

gemActor* AttackerHistory::Attacker ( ) const [inline]

Definition at line 1088 of file gem.h.

virtual float AttackerHistory::Damage ( ) const [pure virtual]

Implemented in DamageHistory, and DOTHistory.

csTicks AttackerHistory::TimeOfAttack ( ) const [inline]

Definition at line 1092 of file gem.h.


Member Data Documentation

csWeakRef<gemActor> AttackerHistory::attacker_ref [protected]

Definition at line 1103 of file gem.h.

csTicks AttackerHistory::timeOfAttack [protected]

Definition at line 1104 of file gem.h.


The documentation for this class was generated from the following file: