void Process(AddMobile m) { WorldModel.Set(new EntityModel(m.Mobile.ObjectInstanceId, m.Mobile.TemplateObjectName, "RTSRobot", m.Mobile.Position, m.Mobile.Rotation)); }
private void addAMobileToolStripMenuItem_Click(object sender, EventArgs e) { AddMobile addMobile = new AddMobile(); //make the current form the parent of AddMobile addMobile.MdiParent = this; //bring up the form addMobile.Show(); }