Exemplo n.º 1
0
 public void BallLeftGoal(Goal goal, Ball ball)
 {
 }
Exemplo n.º 2
0
 public BallEnteredGoal(string playingTeamID, Goal goal, Point location)
 {
     this.PlayingTeamID = playingTeamID;
     Goal = goal;
     Location = location;
 }
Exemplo n.º 3
0
 public void BallEnteredGoal(Goal goal, Ball ball)
 {
     turnEvents.Add(new BallEnteredGoal(currentGame.PlayingTeamID, goal, new Point(ball.Position.X, ball.Position.Y)));
     pottedBalls.Add(ball);
     //if (ball.LastGoalID == 1)
     //{
     //    scoreControl.Team2Score++;
     //}
     //else
     //{
     //    scoreControl.Team1Score++;
     //}
     //letterContainer.Visibility = Visibility.Visible;
     //sbLetters.Begin();
     //hasPendingGoalResolution = true;
 }