Planeshift
|
A queue to hold attacks in order of execution. More...
#include <psattackqueue.h>
Public Member Functions | |
psAttack * | First () |
csList< csRef< psAttack > > & | getAttackList () |
size_t | getAttackListCount () |
bool | Pop () |
psAttackQueue (psCharacter *pschar) | |
void | Purge () |
bool | Push (psAttack *attack) |
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.
psAttackQueue::psAttackQueue | ( | psCharacter * | pschar | ) |
psAttack* psAttackQueue::First | ( | ) |
csList< csRef<psAttack> >& psAttackQueue::getAttackList | ( | ) |
size_t psAttackQueue::getAttackListCount | ( | ) |
bool psAttackQueue::Pop | ( | ) |
void psAttackQueue::Purge | ( | ) |
bool psAttackQueue::Push | ( | psAttack * | attack | ) |