MegaMan.Editor.Bll.StageDocument.AddContinuePoint C# (CSharp) Method

AddContinuePoint() public method

public AddContinuePoint ( ScreenDocument screenDocument, Point location ) : void
screenDocument ScreenDocument
location Point
return void
        public void AddContinuePoint(ScreenDocument screenDocument, Point location)
        {
            if (_map.ContinuePoints.ContainsKey(screenDocument.Name))
            {
                _map.ContinuePoints[screenDocument.Name] = location;
            }
            else
            {
                _map.AddContinuePoint(screenDocument.Name, location);
            }

            Dirty = true;
            if (EntryPointsChanged != null)
                EntryPointsChanged();
        }