Superfighters Deluxe
FireNode Struct Reference

FireNode, a burning node in the world causing fire damage. More...

Public Member Functions

 FireNode (int instanceID, Vector2 position, Vector2 velocity, float lifetime, int attachedToObjectID)
 

Public Attributes

readonly int AttachedToObjectID
 Gets the object on which this fire node is attached to. 0 if the fire node is still in the air. More...
 
readonly int InstanceID
 The fire node's instance ID. More...
 
readonly float Lifetime
 How long this fire node has lived in ms. More...
 
readonly Vector2 Position
 The fire node's world position. More...
 
readonly Vector2 Velocity
 The fire node's velocity while in the air. More...
 

Detailed Description

FireNode, a burning node in the world causing fire damage.

Constructor & Destructor Documentation

◆ FireNode()

FireNode ( int  instanceID,
Vector2  position,
Vector2  velocity,
float  lifetime,
int  attachedToObjectID 
)

Parameters
instanceID
position
lifetime

Member Data Documentation

◆ AttachedToObjectID

readonly int AttachedToObjectID

Gets the object on which this fire node is attached to. 0 if the fire node is still in the air.

◆ InstanceID

readonly int InstanceID

The fire node's instance ID.

◆ Lifetime

readonly float Lifetime

How long this fire node has lived in ms.

◆ Position

readonly Vector2 Position

The fire node's world position.

◆ Velocity

readonly Vector2 Velocity

The fire node's velocity while in the air.