(self, physics)
return self.arena.detected_goal() is not None
Returns True if a goal was scored by either team.
Returns True if a goal was scored by either team.
Returns True if a goal was scored by either team .
def should_terminate_episode(self, physics):
    """Returns True if a goal was scored by either team."""
    return self.arena.detected_goal() is not None
def should_terminate_episode ( self , physics ) : return self . arena . detected_goal ( ) is not None