using System.Reflection; namespace WingsAPI.Scripting { /// /// Script factory used to instantiate script of defined type /// /// Type of the script created by this factory public interface IScriptFactory { void RegisterAllScriptingObjectsInAssembly(Assembly assembly); void RegisterType(); /// /// Create a new script from file /// /// Path to the file /// Script created T LoadScript(string path); } }