private void newFixedSpawn_Click(object sender, EventArgs e) { var menuItem = (MenuItem)sender; var point = (Point)menuItem.Tag; var editor = new FixedSpawnEditor(map); editor.Show(); }
private void CreateNewZoneSpawn(Point start, Point end) { map.SpawnsZone.Add(new ZoneSpawn { start_point = start, end_point = end }); var editor = new FixedSpawnEditor(map); editor.Show(); }