Superfighters Deluxe
ExplosionData Struct Reference

ExplosionHitCallback.Event explosion data More...

Public Member Functions

 ExplosionData (int instanceID, Vector2 position, float radius, float maxDamage)
 

Public Attributes

readonly int InstanceID
 Instance ID of the explosion. Note that the same explosion can affect different objects under several updates, so track unique explosions using this InstanceID. More...
 
readonly float MaxDamage
 Gets the max damage of the explosion More...
 
readonly Vector2 Position
 Gets the source explosion position. More...
 
readonly float Radius
 Gets the radius of the explosion. More...
 

Detailed Description

ExplosionHitCallback.Event explosion data

Constructor & Destructor Documentation

◆ ExplosionData()

ExplosionData ( int  instanceID,
Vector2  position,
float  radius,
float  maxDamage 
)

Parameters
instanceID
position
radius
maxDamage

Member Data Documentation

◆ InstanceID

readonly int InstanceID

Instance ID of the explosion. Note that the same explosion can affect different objects under several updates, so track unique explosions using this InstanceID.

◆ MaxDamage

readonly float MaxDamage

Gets the max damage of the explosion

◆ Position

readonly Vector2 Position

Gets the source explosion position.

◆ Radius

readonly float Radius

Gets the radius of the explosion.