using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Framework.DataHandling
{
    public interface ISavableBehaviour
    {
        /// <summary>
        /// Saves the data of this component behaviour.
        /// </summary>
        /// <returns></returns>
        DataCollection SaveData();

        /// <summary>
        /// Loads the data of this component behaviour.
        /// </summary>
        /// <param name="data">The data.</param>
        void LoadData(DataCollection data);
    }
}
