import { Mood } from './types';

export class Person {
    private name: string;
    private currentMood: Mood;

    constructor(name: string) {
        this.name = name;
        this.currentMood = 'happy';
    }

    getName(): string {
        return this.name;
    }

    setMood(mood: Mood): void {
        this.currentMood = mood;
    }

    getMood(): Mood {
        return this.currentMood;
    }
}
