public Image[] GetAnimationFromFile(string src) { var images = new Image[6]; for (var i = 0; i < 6; i++) { images[i] = SpriteSheet.CropImage(Image.FromFile(src), 16 * i, 0, 16, 16); } return(images); }
public Image[] GetAnimationFromFile(string src) { var images = new Image[6]; for (var i = 0; i < 6; i++) { images[i] = SpriteSheet.CropImage(Image.FromFile(src), 16 * i, 0, 16, 16); } return(images); }