Пример #1
0
 public void BallLeftGoal(Goal goal, Ball ball)
 {
 }
Пример #2
0
 public BallEnteredGoal(string playingTeamID, Goal goal, Point location)
 {
     this.PlayingTeamID = playingTeamID;
     Goal = goal;
     Location = location;
 }
Пример #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;
 }