Exemple #1
0
 /// <summary>
 /// Perform the appropriate action on the ball when it touches the '+' character
 ///
 /// Increases the value of the ball
 /// </summary>
 /// <param name="ball">The ball to perform the action on</param>
 public void doAction(Ball ball, Board board)
 {
     ball.increase();
 }