Table of Contents

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

float

Height

Projectile height from ground, non-zero value draws a shadow

public int Height { get; set; }

Property Value

int

Homing

Recheck target and adjust trajectory midflight.

public bool Homing { get; set; }

Property Value

bool

IgnoreLocationCollisions

Let projectile pass through location walls

public bool IgnoreLocationCollisions { get; set; }

Property Value

bool

IgnoreObjectCollisions

Let projectile pass through objects/terrain feature

public bool IgnoreObjectCollisions { get; set; }

Property Value

bool

MaxVelocity

Maximum velocity or -1 if not capped

public float MaxVelocity { get; set; }

Property Value

float

MinVelocity

Initial velocity for projectile

public float MinVelocity { get; set; }

Property Value

float

Pierce

Number of enemies the projectile can pass through before it is destroyed

public int Pierce { get; set; }

Property Value

int

RotateToTarget

Rotate the rightside of sprite towards target

public bool RotateToTarget { get; set; }

Property Value

bool

SpriteHeight

Projectile texture sprite height

public int SpriteHeight { get; set; }

Property Value

int

SpriteIndex

Projectile texture sprite index

public int SpriteIndex { get; set; }

Property Value

int

SpriteWidth

Projectile texture sprite width

public int SpriteWidth { get; set; }

Property Value

int

TailCount

Number of trailing sprites to draw

public int TailCount { get; set; }

Property Value

int

Texture

Projectile texture, need to be 16x16

public string? Texture { get; set; }

Property Value

string