public UnknownDictionary(CharacterDefinitions characterDefinition, int[][] entries, int[][] costs, string[][] features, int totalFeatures)
 {
     CharacterDefinition = characterDefinition;
     Entries             = entries;
     Costs         = costs;
     Features      = features;
     TotalFeatures = totalFeatures;
 }
        public static UnknownDictionary NewInstance(IResourceResolver resolver, CharacterDefinitions characterDefinitions, int totalFeatures)
        {
            using (var unkDefInput = resolver.Resolve(UnknownDictionaryFileName))
            {
                var costs      = IntArrayIO.ReadArray2D(unkDefInput);
                var references = IntArrayIO.ReadArray2D(unkDefInput);
                var features   = StringArrayIO.ReadArray2D(unkDefInput);

                return(new UnknownDictionary(
                           characterDefinitions,
                           references,
                           costs,
                           features,
                           totalFeatures
                           ));
            }
        }
 public UnknownDictionary(CharacterDefinitions characterDefinition, int[][] entries, int[][] costs, string[][] features)
     : this(characterDefinition, entries, costs, features, features.Length)
 {
 }