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