naev 0.11.5
WeaponHit Struct Reference

Represents a weapon hitting something. More...

Data Fields

TargetType type
 
union { 
 
   Pilot *   plt 
 
   Asteroid *   ast 
 
   Weapon *   wpn 
 
u 
 
const vec2pos
 

Detailed Description

Represents a weapon hitting something.

Definition at line 55 of file weapon.c.

Field Documentation

◆ ast

Asteroid* WeaponHit::ast

Definition at line 59 of file weapon.c.

◆ plt

Pilot* WeaponHit::plt

Definition at line 58 of file weapon.c.

◆ pos

const vec2* WeaponHit::pos

Definition at line 62 of file weapon.c.

◆ type

TargetType WeaponHit::type

Definition at line 56 of file weapon.c.

◆ wpn

Weapon* WeaponHit::wpn

Definition at line 60 of file weapon.c.


The documentation for this struct was generated from the following file: