#include <CSWTorpedo.h>
Additional Inherited Members | |
![]() | |
virtual bool | arm (double fArmDelay) |
virtual bool | fire (double fFireDelay) |
![]() | |
const std::string & | getName () const |
This class specializes a weapon to an torpedo. This torpedo has a main engine. The power of this engine is depend on the torpedo length. Larger torpedos have an engine with more power. If it is armed and someone collides with it, it will explode. After launching the torpedo explodes automatically after 60 seconds.