CodeSubWars 0.4.7b
CodeSubWars::CSWMagneticMine Class Reference

#include <CSWMagneticMine.h>

Inheritance diagram for CodeSubWars::CSWMagneticMine:

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 an ordinary mine to moving mine caused by magnetic forces. Ones the mine has been released and is armed, it moves to near objects (below 100m) and will explode if something collides with it.


Generated at Sun Aug 7 2022 for project CodeSubWars. www.codesubwars.org