Added attribute Browseable(false) to BaseObject.DetailedDescription. Prevents it from being displayed within the editors property editor.

Removed BaseObject's deconstructor.  There was no need to have it.
This commit is contained in:
Scionwest_cp 2011-09-13 14:20:33 -07:00
parent e10d36359d
commit 795b95f1b4

View file

@ -44,6 +44,7 @@ namespace MudEngine.GameObjects
/// <summary>
/// A detailed description that treats each entry as a seperete line when outputted to the player
/// </summary>
[Browsable(false)] //not visible within any Property Controls
public List<String> DetailedDescription { get; set; }
[Category("Object Setup")]
@ -117,11 +118,6 @@ namespace MudEngine.GameObjects
this.Filename = DefaultName() + "." + this.GetType().Name;
}
~BaseObject()
{
}
private Boolean ShouldSerializeName()
{
return this.Name != DefaultName();