mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/PCK-Studio.git
synced 2026-07-08 10:08:11 +00:00
Add Altas class & refactored Atlas editor
This commit is contained in:
19
PckStudio.Core/Serializer/AtlasSerializer.cs
Normal file
19
PckStudio.Core/Serializer/AtlasSerializer.cs
Normal file
@@ -0,0 +1,19 @@
|
||||
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);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user