def get_all_goal_points(self, color): goal_points = 0 for i in self.goals: goal_points += Goal.get_points(i, color) return goal_points