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.
This commit is contained in:
parent
ec48ae95c3
commit
b87136bc13
38 changed files with 4623 additions and 0 deletions
26
Mud Designer/MudEngine/Attributes/UnusableAttribute.cs
Normal file
26
Mud Designer/MudEngine/Attributes/UnusableAttribute.cs
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
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;
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue