コード例 #1
0
        private Point SetThrowResult(IComputer computer, int target, PictureBox dart)
        {
            var throwResult = computer.CalculateNewPoint(new Point(mytarget[target].X, mytarget[target].Y));

            dart.Location = new Point(throwResult.X - 11, throwResult.Y - 30);
            return(throwResult);
        }