Skip to content

atl/sm/compromised

import "atl/sm/compromised"

[server] Compromised (structurally weakened) shapes (sm.compromised).

func CompromiseShapeInSphere(position sm.Vec3, radius float64) bool

[server] Compromises a shape in the sphere; true if one was found.

func Shapes(world sm.World) []sm.Shape

[server] Every compromised shape.

func Any(world sm.World) bool

[server] True if the world has compromised shapes.