Formatting is off, and the try should only cover the if (canTick(dt) { c.tick(dt); } so that 1 bad component does not prevent other components from receiving ticks.