Planeshift
AttackerHistory Class Referenceabstract

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

#include <gem.h>

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 1087 of file gem.h.

Constructor & Destructor Documentation

virtual AttackerHistory::~AttackerHistory ( )
inlinevirtual

Definition at line 1090 of file gem.h.

AttackerHistory::AttackerHistory ( gemActor attacker)
inlineprotected

Definition at line 1102 of file gem.h.

Member Function Documentation

gemActor* AttackerHistory::Attacker ( ) const
inline

Definition at line 1092 of file gem.h.

virtual float AttackerHistory::Damage ( ) const
pure virtual

Implemented in DOTHistory, and DamageHistory.

csTicks AttackerHistory::TimeOfAttack ( ) const
inline

Definition at line 1096 of file gem.h.

Member Data Documentation

csWeakRef<gemActor> AttackerHistory::attacker_ref
protected

Definition at line 1107 of file gem.h.

csTicks AttackerHistory::timeOfAttack
protected

Definition at line 1108 of file gem.h.


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