public frmProtoCritterEditor(frmCritterProtoList parent, int pcid, bool deleteOnExit)
 {
     this.deleteOnExit = deleteOnExit;
     this.parent       = parent;
     this.pc           = ProtoManager.Protos[pcid].DeepCopy();
     InitializeComponent();
 }
예제 #2
0
 public frmProtoCritterEditor(frmCritterProtoList parent, int pcid, bool deleteOnExit)
 {
     this.deleteOnExit = deleteOnExit;
     this.parent = parent;
     this.pc = ProtoManager.Protos[pcid].DeepCopy();
     InitializeComponent();
 }
예제 #3
0
 private void crittersProtoEditorToolStripMenuItem_Click(object sender, EventArgs e)
 {
     if (!ProtoManager.Initialized || !ParamsDefines.Initialized)
     {
         Message.Show("Proto Editor not initialized.", MessageBoxButtons.OK, MessageBoxIcon.Error);
         return;
     }
     frmCritterProtoList form = new frmCritterProtoList();
     form.ShowDialog();
 }