Interface ICombustible
This interface makes the entity can be set on fire
Properties
BurnStartFrame
The frame this entity start on fire
Declaration
int BurnStartFrame { get; set; }
BurnedDuration
How many frames does it takes to burn down this entity
Declaration
int BurnedDuration { get; }
IsBurning
True if the entity is having a fire entity on
Declaration
bool IsBurning { get; }
Methods
OnBurned()
This function is called when the entity is burned down
Declaration
void OnBurned()