|
WSF
|
A target for a weapon to fire upon. More...
#include <WsfWeapon.hpp>

Public Member Functions | |
| FireTarget () | |
| FireTarget (const WsfTrack *aTrackPtr) | |
Public Attributes | |
| const WsfTrack * | mTrackPtr |
| std::string | mTargetName |
| The target name against which to fire the weapon. | |
| WsfTrackId | mTrackId |
| std::string | mTargetOffset |
A target for a weapon to fire upon.
|
inline |
References mTrackPtr.
|
inline |
| std::string WsfWeapon::FireTarget::mTargetName |
The target name against which to fire the weapon.
Referenced by WsfCuedLaserWeapon::Fire(), WsfDirectedEnergyWeapon::Fire(), WsfImplicitWeapon::Fire(), WsfLaserWeapon::Fire(), UT_DEFINE_SCRIPT_METHOD(), and UT_DEFINE_SCRIPT_METHOD().
| std::string WsfWeapon::FireTarget::mTargetOffset |
An string indicating a targeted sub-region of the target (e.g., "canopy", "irst", "stabilizer"). This offset must be recognized by and used by the weapon effects type associated with the weapon.
Referenced by WsfCuedLaserWeapon::Fire(), WsfImplicitWeapon::Fire(), WsfLaserWeapon::Fire(), WsfBeamDirector::PointAtTarget(), and UT_DEFINE_SCRIPT_METHOD().
| WsfTrackId WsfWeapon::FireTarget::mTrackId |
Referenced by WsfWeapon::FireSalvo(), and FireTarget().
| const WsfTrack* WsfWeapon::FireTarget::mTrackPtr |
A pointer to the track that represents the target. If mTrackPtr is null, will attempt to use WsfPlatform::GetCurrentTarget().
Referenced by WsfWeapon::ContinueSalvo(), WsfCuedLaserWeapon::Fire(), WsfDirectedEnergyWeapon::Fire(), WsfImplicitWeapon::Fire(), WsfLaserWeapon::Fire(), WsfExplicitWeapon::FireP(), WsfWeapon::FireSalvo(), FireTarget(), FireTarget(), WsfBeamDirector::PointAtTarget(), and WsfWeapon::SalvoRequest::SalvoRequest().