muddesigner/Mud Designer/MudEngine/Attributes/UnusableAttribute.cs
Scionwest_cp b87136bc13 Project restructure completed. All editors now contained within a single Project.
Note that some things are still broken from the migration, but will be addressed.
2009-12-01 19:27:01 -08:00

26 lines
661 B
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace MudDesigner.MudEngine.Attributes
{
[AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct)]
public class UnusableAttribute : System.Attribute
{
private bool _IsUseable;
public UnusableAttribute (bool useable)
{
_IsUseable = useable;
}
/// <summary>
/// Sets if the class can be instanced or not. Regardless of what Type it inherits from
/// </summary>
public bool IsUseable
{
get;
set;
}
}
}