using Assets.Framework.Classes.Experiments;
using Framework.Entities;
using Framework.InteractionSystem;
using Framework.ItemSystem;
using Framework.StatSystem;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using UnityEngine;

namespace Framework.Sharing
{
    // TODO: This should be more general and in a different namespace
    public class ServiceProvider : MonoBehaviour
    {
        protected void Awake()
        {
            ActionMediatorLocator.Provide(new ActionMediator());
            ItemDefinitionsLocator.Provide(new ItemDefinitions());
            //ItemDefinitionsLocator.Get().AddItemDefinition(new ItemDefinition("Sword", ItemType.Example, "A sword."));
            //ItemDefinitionsLocator.Get().AddItemDefinition(new ItemDefinition("Gun", ItemType.Example, "A gun."));
        }
    }
}
