using UnityEngine;
using System.Collections.Generic;
using System;
using mgaia.Utils;

public class ResponseLetter : Letter
{    
    public int MonthsToArrive { get; private set; }
    public Dictionary<Indicators, float> ChangedIndicators { get; private set; }
    public Dictionary<Attributes, float> ChangedAttributes { get; private set; }

    public ResponseLetter(string textBody, string sender, int monthsToArrive, Attributes relatedAttribute)
    {
        TextBody = textBody;
        Sender = sender;
        MonthsToArrive = monthsToArrive;
        RelatedAttribute = relatedAttribute;
        ChangedIndicators = new Dictionary<Indicators, float>();
        ChangedAttributes = new Dictionary<Attributes, float>();
    }

    public ResponseLetter(string textBody, string sender, int monthsToArrive, Attributes relatedAttribute, Dictionary<Indicators, float> changedIndicators)
    {
        TextBody = textBody;
        Sender = sender;
        MonthsToArrive = monthsToArrive;
        RelatedAttribute = relatedAttribute;
        ChangedIndicators = changedIndicators;
        ChangedAttributes = new Dictionary<Attributes, float>();
    }

    public ResponseLetter(string textBody, string sender, int monthsToArrive, Attributes relatedAttribute, Dictionary<Attributes, float> changedAttributes)
    {
        TextBody = textBody;
        Sender = sender;
        MonthsToArrive = monthsToArrive;
        RelatedAttribute = relatedAttribute;
        ChangedIndicators = new Dictionary<Indicators, float>();
        ChangedAttributes = changedAttributes;
    }

    public ResponseLetter(string textBody, string sender, int monthsToArrive, Attributes relatedAttribute, Dictionary<Indicators, float> changedIndicators, Dictionary<Attributes, float> changedAttributes)
    {
        TextBody = textBody;
        Sender = sender;
        MonthsToArrive = monthsToArrive;
        RelatedAttribute = relatedAttribute;
        ChangedIndicators = changedIndicators;
        ChangedAttributes = changedAttributes;
    }
}