Class Projectile
- Namespace
- SurvivorsMaker.Simulation
- Assembly
- SurvivorsMaker.Simulation.dll
public sealed class Projectile
- Inheritance
-
Projectile
- Inherited Members
Constructors
Projectile()
public Projectile()
Fields
Damage
public int Damage
Field Value
DistanceLeft
Friendly: distance still allowed. Enemy: unused.
public float DistanceLeft
Field Value
Friendly
public bool Friendly
Field Value
HitIds
public readonly List<int> HitIds
Field Value
Homing
public bool Homing
Field Value
HomingTurnRadiansPerTick
public float HomingTurnRadiansPerTick
Field Value
Id
public int Id
Field Value
IsCrit
public bool IsCrit
Field Value
Knockback
public float Knockback
Field Value
OnHit
Hit effects ride along; null for trigger novas without effects.
public List<HitEffectDef> OnHit
Field Value
PierceDamageLoss
public float PierceDamageLoss
Field Value
PierceLeft
public int PierceLeft
Field Value
Position
public Vec2 Position
Field Value
Radius
public float Radius
Field Value
Source
Weapon slot for friendly projectiles; enemy id for enemy ones.
public int Source
Field Value
SourceWeapon
Friendly: the weapon definition that fired it (stays right if the slot later changes).
public WeaponDef SourceWeapon
Field Value
Spent
public bool Spent
Field Value
TicksLeft
Enemy: ticks left. Friendly: unused.
public int TicksLeft
Field Value
Velocity
public Vec2 Velocity