this.fullname = fullname;
this.interaction_distance = interaction_distance;
this.interactable = false;
- this.talkcount = 0;
+ this.resetTalk();
this.happy = false;
}
return true;
}
+ resetTalk() {
+ this.talkcount = 0;
+ }
+
makeHappy() {
this.happy = true;
console.log(this.shortname, "is happy!");