CodeSubWars 0.4.7b
CodeSubWars::CSWSoundHomingTorpedo Class Reference

#include <CSWSoundHomingTorpedo.h>

Inheritance diagram for CodeSubWars::CSWSoundHomingTorpedo:

Additional Inherited Members

- Public Member Functions inherited from CodeSubWars::CSWWeapon
virtual bool arm (double fArmDelay)
virtual bool fire (double fFireDelay)
- Public Member Functions inherited from CodeSubWars::CSWObject
const std::string & getName () const

Detailed Description

This class specializes a torpedo to a sound based homing torpedo. This torpedo has a passive sonar. Ones the torpedo has been released it checks in front whether a sound is emitted. If so it modifies its main engine direction a little bit to move to the detected direction.

Generated at Sun Aug 7 2022 for project CodeSubWars.