Skip to content

Commit 03440e0

Browse files
committed
done
1 parent 6ec5701 commit 03440e0

1 file changed

Lines changed: 0 additions & 12 deletions

File tree

‎grpc-server.py‎

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -29,18 +29,6 @@ def GetTrainerActions(self, request:pb2.State, context):
2929
actions = self.trainer_agent.get_actions(request.world_model)
3030
return actions
3131

32-
def GetCoachActions(self, request, context):
33-
actions = pb2.CoachActions()
34-
actions.actions.append(pb2.CoachAction(change_player_types=pb2.ChangePlayerType()))
35-
actions.actions.append(pb2.CoachAction(do_helios_say_player_types=pb2.DoHeliosSayPlayerTypes()))
36-
actions.actions.append(pb2.CoachAction(do_helios_substitute=pb2.DoHeliosSubstitute()))
37-
return actions
38-
39-
def GetTrainerActions(self, request, context):
40-
actions = pb2.TrainerActions()
41-
actions.actions.append(pb2.TrainerAction(do_move_ball=pb2.DoMoveBall(pb2.Vector2D(x=0, y=0))))
42-
return actions
43-
4432
def SendServerParams(self, request: pb2.ServerParam, context):
4533
self.player_agent.set_params(request)
4634
self.coach_agent.set_params(request)

0 commit comments

Comments
 (0)