List <AnimationDNABlock> IAnimationImporter.ImportAnimations(string spritesheetKey, string direction) { var animationList = new List <AnimationDNABlock>(); var builder = new AnimationImportUtil(); animationList.Add(builder.BuildAnimation(this, spritesheetKey, direction)); return(animationList); }
List <AnimationDNABlock> IAnimationImporter.ImportAnimations(string spritesheetKey, string direction) { // Builds all directional animations for a spritesheet var animationList = new List <AnimationDNABlock>(); var builder = new AnimationImportUtil(); animationList.Add(builder.BuildAnimation(_w_importer, spritesheetKey, DirectionType.Up)); animationList.Add(builder.BuildAnimation(_a_importer, spritesheetKey, DirectionType.Left)); animationList.Add(builder.BuildAnimation(_s_importer, spritesheetKey, DirectionType.Down)); animationList.Add(builder.BuildAnimation(_d_importer, spritesheetKey, DirectionType.Right)); return(animationList); }
List <AnimationDNABlock> IAnimationImporter.ImportAnimations(string spritesheetKey, string direction) { /* * Builds all directional animations for a spritesheet */ List <AnimationDNABlock> animationList = new List <AnimationDNABlock>(); AnimationImportUtil builder = new AnimationImportUtil(); animationList.Add(builder.BuildAnimation(_w_importer, spritesheetKey, DirectionType.UP)); animationList.Add(builder.BuildAnimation(_a_importer, spritesheetKey, DirectionType.LEFT)); animationList.Add(builder.BuildAnimation(_s_importer, spritesheetKey, DirectionType.DOWN)); animationList.Add(builder.BuildAnimation(_d_importer, spritesheetKey, DirectionType.RIGHT)); return(animationList); }