コード例 #1
0
        private void newFixedSpawn_Click(object sender, EventArgs e)
        {
            var menuItem = (MenuItem)sender;
            var point    = (Point)menuItem.Tag;

            var editor = new FixedSpawnEditor(map);

            editor.Show();
        }
コード例 #2
0
        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();
        }