PathfindingTest.Map.MiniMap.OnMouseDrag C# (CSharp) 메소드

OnMouseDrag() 공개 메소드

public OnMouseDrag ( MouseEvent e ) : void
e MouseEvent
리턴 void
        public void OnMouseDrag(MouseEvent e)
        {
            if (this.currentDrawRectangle.Contains(e.location) && Game1.CURRENT_PLAYER.selectBox == null)
            {
                Point miniMapLocation = new Point(e.location.X - this.currentDrawRectangle.X, e.location.Y - this.currentDrawRectangle.Y);
                ActionOnMiniMap(miniMapLocation);
            }
        }