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

SetStartPoint() public method

public SetStartPoint ( ScreenDocument screenDocument, Point location ) : void
screenDocument ScreenDocument
location Point
return void
        public void SetStartPoint(ScreenDocument screenDocument, Point location)
        {
            _map.StartScreen = screenDocument.Name;
            _map.PlayerStartX = location.X;
            _map.PlayerStartY = location.Y;
            Dirty = true;
            if (EntryPointsChanged != null)
                EntryPointsChanged();
        }