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:
parent
e10d36359d
commit
795b95f1b4
1 changed files with 1 additions and 5 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue