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

Method death

Processing/game2dai/World.java:1034–1037  ·  view source on GitHub ↗

This is the preferred method to remove an entity from the world once the game is in progress i.e. outside the setup() method. @param entity the entity to die @param timeToLive number of seconds of life left

(BaseEntity entity, double timeToLive)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

dieMethod · 0.80

Calls 3

IDMethod · 0.45
addMethod · 0.45
getMethod · 0.45

Tested by

no test coverage detected