DecayKnowledgebase
functiongenerated

World.despawn

Removes an object, and everything attached to it, from the game. Used when an enemy dies or a bullet hits something.

Signature

World.despawn(entity: Entity) -> unit

Member of World

Related types

Entity

Source
docs/generated/decay-api.json
Schema
v1
Engine version
0.1.0
Source commit
909aca81368b