do(a, b) {
        if (a.actionProgress >= this.actionProgressLength) {
            a.hunger = 0;
            return true;
        } else {
            super.do(a, b);
        }
        return false;
    }
// a does this action to b. Returns true if finished, else false
a does this action to b. Returns true if finished, else false
a does this action to b . Returns true if finished else false
do(a, b) {
        if (a.actionProgress >= this.actionProgressLength) {
            a.hunger = 0;
            return true;
        } else {
            super.do(a, b);
        }
        return false;
    }
do ( a , b ) { if ( a . actionProgress >= this . actionProgressLength ) { a . hunger = 0 ; return true ; } else { super . do ( a , b ) ; } return false ; }
a does this action to b.
a does this action to b .