Skip to content

atl/sm/fire

import "atl/sm/fire"

[server] Fire (sm.fire).

func IsAreaBurning(position sm.Vec3, radius float64, world sm.World) bool

[server] True if anything burns in the sphere.

func IgniteSphere(position sm.Vec3, radius float64, flag *bool, world sm.World)

[server] Sets fire to the sphere.

func BurningShapes() []sm.Shape

[server] Every burning shape.

func SetLimit(limit int)

[server] The maximum number of fire instances.