Objects can have a calculate function defined on them to allow them to react to different events happening in the game. The main time for this to happen is during scoring, but there are other contexts ...