BattleSoundPlayer Class Reference

Inheritance diagram for BattleSoundPlayer:

Inheritance graph
[legend]
List of all members.

Public Member Functions

 BattleSoundPlayer (tfight &battle)
void playEnd ()
void visit (tunitattacksobject &battle)
void visit (tunitattacksbuilding &battle)
void visit (tunitattacksunit &battle)
void visit (tmineattacksunit &battle)

Detailed Description

Definition at line 197 of file attackpanel.cpp.


Constructor & Destructor Documentation

BattleSoundPlayer::BattleSoundPlayer ( tfight battle  )  [inline]

Definition at line 211 of file attackpanel.cpp.

References tfight::visit().


Member Function Documentation

void BattleSoundPlayer::playEnd (  )  [inline]

Definition at line 216 of file attackpanel.cpp.

References tfight::visit().

Referenced by showAttackAnimation().

void BattleSoundPlayer::visit ( tunitattacksobject battle  )  [inline, virtual]

Implements FightVisitor.

Definition at line 222 of file attackpanel.cpp.

void BattleSoundPlayer::visit ( tunitattacksbuilding battle  )  [inline, virtual]

Implements FightVisitor.

Definition at line 228 of file attackpanel.cpp.

References SoundList::buildingCollapses, SoundList::getInstance(), and SoundList::playSound().

void BattleSoundPlayer::visit ( tunitattacksunit battle  )  [inline, virtual]

Implements FightVisitor.

Definition at line 237 of file attackpanel.cpp.

References SoundList::getInstance(), SoundList::playSound(), and SoundList::unitExplodes.

void BattleSoundPlayer::visit ( tmineattacksunit battle  )  [inline, virtual]

Implements FightVisitor.

Definition at line 251 of file attackpanel.cpp.

References tfight::tavalues::damage, tfight::dv, SoundList::getInstance(), tmineattacksunit::getTarget(), VehicleType::killSoundLabel, SoundList::playSound(), SoundList::shooting, Vehicle::typ, and SoundList::unitExplodes.


The documentation for this class was generated from the following file:
Generated on Mon May 21 01:46:23 2012 for Advanced Strategic Command by  doxygen 1.5.1