Interface IFire
Interface that makes the entity behave like fire
Methods
Putout(bool)
Putout this fire
Declaration
void Putout(bool manually)
Parameters
| Type | Name | Description |
|---|---|---|
| bool | manually | True if the fire got putout by something else |
PutoutFire(IRect)
Putout fire in given range
Declaration
public static void PutoutFire(IRect rect)
Parameters
| Type | Name | Description |
|---|---|---|
| IRect | rect | Range in global space |
Setup(ICombustible)
Set fire onto a target
Declaration
void Setup(ICombustible com)
SpreadFire(int, IRect, Entity)
Set fire at given range
Declaration
public static void SpreadFire(int fireID, IRect rect, Entity ignore = null)
Parameters
| Type | Name | Description |
|---|---|---|
| int | fireID | Which type of fire will be spawn |
| IRect | rect | Target range in global space |
| Entity | ignore | Do not set this entity on fire |