crush-feelings
Version:
Simulate crush interactions in code!
20 lines (19 loc) • 417 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.Person = void 0;
class Person {
constructor(name) {
this.name = name;
this.currentMood = 'happy';
}
getName() {
return this.name;
}
setMood(mood) {
this.currentMood = mood;
}
getMood() {
return this.currentMood;
}
}
exports.Person = Person;