private void PropagateFire() { //Debug.LogWarning(Random.value + " Propagating fire"); //choose a random target among nearby neighbors IBurnable chosenTarget = burnableNeighbors[Random.Range(0, burnableNeighbors.Length)]; chosenTarget.ChangeVirulence(propagationRate * blazeIntensity); }
private void Douse(IBurnable burnable) { burnable.ChangeVirulence(dousingPower); }
private void Ignite(IBurnable target) { target.ChangeVirulence(arsonVirulence); }