Room Designer:
- Cleaned up un-used code - Removed un-used Fields - Rooms can now be saved via the UI - Rooms can be loaded via a command line argument "room=Room Name.room"
This commit is contained in:
parent
1cc477f23c
commit
dae777bc24
2 changed files with 1 additions and 11 deletions
1
RoomDesigner/frmMain.Designer.cs
generated
1
RoomDesigner/frmMain.Designer.cs
generated
|
@ -184,7 +184,6 @@
|
|||
this.propertyRoom.Name = "propertyRoom";
|
||||
this.propertyRoom.Size = new System.Drawing.Size(230, 430);
|
||||
this.propertyRoom.TabIndex = 3;
|
||||
this.propertyRoom.PropertyValueChanged += new System.Windows.Forms.PropertyValueChangedEventHandler(this.propertyRoom_PropertyValueChanged);
|
||||
//
|
||||
// containerDesigner
|
||||
//
|
||||
|
|
|
@ -25,8 +25,6 @@ namespace RoomDesigner
|
|||
|
||||
//Scripting engine and it's components.
|
||||
ManagedScripting.ScriptingEngine _ScriptEngine;
|
||||
ManagedScripting.CodeBuilding.ClassGenerator _CurrentClass;
|
||||
ManagedScripting.CodeBuilding.MethodSetup _CurrentCodeBlock;
|
||||
|
||||
//Collection of plugins from within the 'plugins' folder
|
||||
List<System.Reflection.Assembly> _Plugins;
|
||||
|
@ -310,9 +308,7 @@ namespace RoomDesigner
|
|||
|
||||
_CurrentRoom = new Room();
|
||||
_CurrentDoor = new Door(AvailableTravelDirections.None);
|
||||
_CurrentClass = new ManagedScripting.CodeBuilding.ClassGenerator();
|
||||
_CurrentCodeBlock = new ManagedScripting.CodeBuilding.MethodSetup();
|
||||
|
||||
|
||||
propertyDoor.SelectedObject = null;
|
||||
propertyRoom.SelectedObject = _CurrentRoom;
|
||||
}
|
||||
|
@ -341,10 +337,5 @@ namespace RoomDesigner
|
|||
txtScript.Text = _CurrentRoom.Script;
|
||||
}
|
||||
}
|
||||
|
||||
private void propertyRoom_PropertyValueChanged(object s, PropertyValueChangedEventArgs e)
|
||||
{
|
||||
//propertyRoom.Refresh();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue