#region Arthea License
/***********************************************************************
* Arthea MUD by R. Jennings (2007) http://arthea.googlecode.com/ *
* By using this code you comply with the Artistic and GPLv2 Licenses. *
***********************************************************************/
#endregion
using Arthea.Scripts;
namespace Arthea.Interfaces
{
/// <summary>
/// Allows a type to activate a script
/// </summary>
public interface Scriptable
{
/// <summary>
/// Gets a name for scriptable object
/// </summary>
string Name { get; set; }
/// <summary>
/// Gets a short description for scriptable object
/// </summary>
string ShortDescr { get; set; }
/// <summary>
/// Creates a script of proper type.
/// </summary>
/// <returns></returns>
Script CreateScript(ScriptCode code, String trigger);
}
}