Planeshift
psAttackQueue Class Reference

A queue to hold attacks in order of execution. More...

#include <psattackqueue.h>

Public Member Functions

psAttackFirst ()
 
csList< csRef< psAttack > > & getAttackList ()
 
size_t getAttackListCount ()
 
bool Pop ()
 
 psAttackQueue (psCharacter *pschar)
 
void Purge ()
 
bool Push (psAttack *attack)
 

Detailed Description

A queue to hold attacks in order of execution.

The main function of this class is to hold attacks to be executed using the combat system. it will function by being a wrapper for a csList holding psAttack items.

Definition at line 41 of file psattackqueue.h.

Constructor & Destructor Documentation

psAttackQueue::psAttackQueue ( psCharacter pschar)

Member Function Documentation

psAttack* psAttackQueue::First ( )
csList< csRef<psAttack> >& psAttackQueue::getAttackList ( )
size_t psAttackQueue::getAttackListCount ( )
bool psAttackQueue::Pop ( )
void psAttackQueue::Purge ( )
bool psAttackQueue::Push ( psAttack attack)

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