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

Method update

Processing/game2dai/World.java:1080–1155  ·  view source on GitHub ↗

This is the core method which will loop through entity state machines (if any) then it will update the positions and velocities of all moving entities (applying any steering behaviours used). It also calculates and stores the average time taken to perform this update. @param deltaTime the time

(double deltaTime)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 11

removeMethod · 0.95
addMethod · 0.95
updateMethod · 0.95
ensureNoOverlapMethod · 0.95
checkPartitionMovesMethod · 0.95
resetMethod · 0.80
isEmptyMethod · 0.80
updateFSMMethod · 0.80
getElapsedTimeMethod · 0.80
nextMethod · 0.45

Tested by

no test coverage detected