internal ViewAnimation FindAnimation(AssetLoader loader, ushort offset) { BinaryReader reader = loader.Reader; foreach (var item in Animations) { if (item.DataOffset == offset) { return(item); } } reader.BaseStream.Position = offset; var animation = new ViewAnimation(this, loader); AnimationsMutable.Add(animation); return(animation); }
internal ViewAnimation FindAnimation(AssetLoader loader, ushort offset) { BinaryReader reader = loader.Reader; foreach (var item in Animations) if (item.DataOffset == offset) return item; reader.BaseStream.Position = offset; var animation = new ViewAnimation(this, loader); AnimationsMutable.Add(animation); return animation; }
internal ViewGroup(ViewAnimation animation, bool isMirrored) { IsMirrored = isMirrored; Animation = animation; }
internal ViewGroup(ViewAnimation animation, bool isMirrored) { IsMirrored = isMirrored; Animation = animation; }