CS116b/CS216
Chris Pollett
Apr 30, 2014
Below is the order of method calls for our game loop so far. In the update() or collide() method we might mark a Thing as being "too old" or being "destroyed by gun fire", etc. collectDeadAndSpawn() garbage collects dead things and might spawn new Things like explosions.
onLoop() updateThings() update() accelerateThings() accelerate() collideThings() collide() collectDeadAndSpawn() moveThings() move() onRender()