MCPcopy Create free account
hub / github.com/dabing1022/Blog / die

Method die

Processing/game2dai/entities/BaseEntity.java:292–296  ·  view source on GitHub ↗

This is the only safe way to remove an entity from the World object. It does not remove the object directly but schedules it for removal at the start of the world update() method. @param world the world to remove this entity in @param timeToLive time left to stay in the world in seconds

(World world, double timeToLive)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 1

deathMethod · 0.80

Tested by

no test coverage detected