mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/PCK-Studio.git
synced 2026-06-24 16:35:33 +00:00
Move Common functionality to Core project & rendering and Model support as well
This commit is contained in:
27
PckStudio.Core/Skin/SkinModel.cs
Normal file
27
PckStudio.Core/Skin/SkinModel.cs
Normal file
@@ -0,0 +1,27 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Drawing;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using OMI.Formats.Pck;
|
||||
|
||||
namespace PckStudio.Core.Skin
|
||||
{
|
||||
public sealed class SkinModel
|
||||
{
|
||||
public readonly List<SkinBOX> AdditionalBoxes;
|
||||
public readonly List<SkinPartOffset> PartOffsets;
|
||||
|
||||
public SkinModel()
|
||||
{
|
||||
AdditionalBoxes = new List<SkinBOX>();
|
||||
PartOffsets = new List<SkinPartOffset>(5);
|
||||
}
|
||||
|
||||
public SkinModel(IEnumerable<SkinBOX> additionalBoxes, IEnumerable<SkinPartOffset> partOffsets)
|
||||
{
|
||||
AdditionalBoxes = new List<SkinBOX>(additionalBoxes);
|
||||
PartOffsets = new List<SkinPartOffset>(partOffsets);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user