Kinect.Pong.Models.Paddle.PositionPaddle C# (CSharp) Method

PositionPaddle() private method

private PositionPaddle ( Side _side ) : void
_side Side
return void
        private void PositionPaddle(Side _side)
        {
            if (_side == Side.Left)
            {
                Brush = new SolidColorBrush(Color.FromScRgb(1f, 1, 1, 1));
                Position = new Point(Boundry.X + (Boundry.Width/100), (Boundry.Height/2) - (Height/2));
            }
            else if (_side == Side.Right)
            {
                Brush = new SolidColorBrush(Color.FromScRgb(1f, 1, 1, 1));
                Position = new Point(Boundry.Width - (Boundry.Width/100) - Width, (Boundry.Height/2) - (Height/2));
            }
        }