Class: SatisfactionCounter

SatisfactionCounter(max_satisfaction, element)

Keeps track of how many boxes are on the targets and displays it on the proper element

Constructor

new SatisfactionCounter(max_satisfaction, element)

Parameters:
Name Type Description
max_satisfaction number
element HTMLElement
Source:

Methods

add(change)

Increase number of satisfied boxes by number
Parameters:
Name Type Description
change number
Source: