mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/PCK-Studio.git
synced 2026-05-22 22:55:28 +00:00
20 lines
447 B
C#
20 lines
447 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
using OMI.Formats.Pck;
|
|
using PckStudio.Core.Extensions;
|
|
using PckStudio.Interfaces;
|
|
|
|
namespace PckStudio.Core.Serializer
|
|
{
|
|
internal sealed class AtlasSerializer : IPckAssetSerializer<Atlas>
|
|
{
|
|
public void Serialize(Atlas atlas, ref PckAsset asset)
|
|
{
|
|
asset.SetTexture(atlas);
|
|
}
|
|
}
|
|
}
|