Class ProjectileArgs
- Namespace
- TrinketTinker.Models.AbilityArgs
- Assembly
- TrinketTinker.dll
public sealed class ProjectileArgs : DamageArgs, IArgs
- Inheritance
-
ProjectileArgs
- Implements
- Inherited Members
Properties
Acceleration
Acceleration per tick
public float Acceleration { get; set; }
Property Value
Height
Projectile height from ground, non-zero value draws a shadow
public int Height { get; set; }
Property Value
Homing
Recheck target and adjust trajectory midflight.
public bool Homing { get; set; }
Property Value
IgnoreLocationCollisions
Let projectile pass through location walls
public bool IgnoreLocationCollisions { get; set; }
Property Value
IgnoreObjectCollisions
Let projectile pass through objects/terrain feature
public bool IgnoreObjectCollisions { get; set; }
Property Value
MaxVelocity
Maximum velocity or -1 if not capped
public float MaxVelocity { get; set; }
Property Value
MinVelocity
Initial velocity for projectile
public float MinVelocity { get; set; }
Property Value
Pierce
Number of enemies the projectile can pass through before it is destroyed
public int Pierce { get; set; }
Property Value
RotateToTarget
Rotate the rightside of sprite towards target
public bool RotateToTarget { get; set; }
Property Value
SpriteHeight
Projectile texture sprite height
public int SpriteHeight { get; set; }
Property Value
SpriteIndex
Projectile texture sprite index
public int SpriteIndex { get; set; }
Property Value
SpriteWidth
Projectile texture sprite width
public int SpriteWidth { get; set; }
Property Value
TailCount
Number of trailing sprites to draw
public int TailCount { get; set; }
Property Value
Texture
Projectile texture, need to be 16x16
public string? Texture { get; set; }