Designer:

- Renamed SaveSelected() to SaveObject()
 - Added additional commenting
 - Re-formatted the document
 - Moved the search code out from the text box and into its own method SearchForObject()
 - Changed search method for the text box from txtSearch_Enter to txtSearch_KeyDown
 - Re-write of object save code finished.

Engine:
 - Realm.GetZone() re-wrote to use LINQ.
 - Zone.GetRoom() renamed to Zone.GetRoomByName() for searching for a Room by name
 - Zone.GetRoomByFilename() added for searching by filename for a Room.
 - Re-wrote Adding Zones into Realms via the UIRealmControl. Uses 54% less source, and better readability.
 - UIRealmEditor now stores a proper backup of Zones incase of UIRealmControl instancing failure.
This commit is contained in:
Scionwest_cp 2010-01-19 13:09:33 -08:00
parent af4dc2ad7a
commit 0395acb0f9
9 changed files with 256 additions and 218 deletions

View file

@ -185,6 +185,7 @@ namespace MudDesigner.MudEngine.GameObjects
Directory.CreateDirectory(directory);
FileManager.Save(filename, this);
}
public override string ToString()
{
return this.Name;