public ValueCup(int value, int maxValue, ChangeCup changeCup, int min) { _changeCup = changeCup; _maxValue = maxValue; _minValue = min; _currentValue = value; }
void Start() { screenManager = FindObjectOfType <ScreenManager> (); gameMode = FindObjectOfType <ChangeGameMode>(); cup = FindObjectOfType <ChangeCup>(); }