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

using Svelto.ECS;

using GamecraftModdingAPI.Utility;

namespace GamecraftModdingAPI.Engines
{
    /// <summary>
    /// Engine interface to create a ModEventEntityStruct in entitiesDB when Emit() is called.
    /// </summary>
    public interface IFactoryEngine : IApiEngine
    {
        /// <summary>
        /// The EntityFactory for the entitiesDB.
        /// Use this to create a ModEventEntityStruct when Emit() is called.
        /// </summary>
        IEntityFactory Factory { set; }
    }
}