public static Animation CreateAnimation(Animation.SimpleDescriptor Descriptor) { // Can't cache these guys, unfortunately. Thankfully, they // are only used by the dialogue screen. return(new Animation() { SpriteSheet = new SpriteSheet(Descriptor.AssetName), Frames = Descriptor.Frames.Select(s => new Point(s, 0)).ToList(), SpeedMultiplier = Descriptor.Speed, Speeds = new List <float>() }); }