public void BallLeftGoal(Goal goal, Ball ball) { }
public BallEnteredGoal(string playingTeamID, Goal goal, Point location) { this.PlayingTeamID = playingTeamID; Goal = goal; Location = location; }
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; }