def METHOD_NAME(
    self, tactics: AssignedTacticPlayControlParams, is_friendly: bool,
):
    """Overrides current AI tactic for the given team
    param tactic: the tactic params proto to use
    param is_friendly: whether the play should be applied to the "friendly" team
    Raises:
        NotImplementedError
    """
    fs_proto_unix_io = self.blue_full_system_proto_unix_io
    # If (friendly & yellow_friendly) or (~friendly & ~yellow_friendly), set command team to yellow
    if (is_friendly and self.is_yellow_friendly) or not (
        is_friendly or self.is_yellow_friendly
    ):
        fs_proto_unix_io = self.yellow_full_system_proto_unix_io
    fs_proto_unix_io.send_proto(AssignedTacticPlayControlParams, tactics)