mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/PCK-Studio.git
synced 2026-07-13 23:38:11 +00:00
Core - Add ArmorPiece.cs & ArmorSet.cs & rename 'ArmorPieceDescription' to 'ArmorSetDescription'
This commit is contained in:
20
PckStudio.Core/ArmorSet.cs
Normal file
20
PckStudio.Core/ArmorSet.cs
Normal file
@@ -0,0 +1,20 @@
|
||||
using System.Drawing;
|
||||
using PckStudio.Core.Skin;
|
||||
|
||||
namespace PckStudio.Core
|
||||
{
|
||||
public sealed class ArmorSet
|
||||
{
|
||||
public string Name { get; }
|
||||
public Image BaseTexture => _layers[0];
|
||||
public Image Layer => _layers[1];
|
||||
private Image[] _layers = new Image[2];
|
||||
|
||||
public ArmorSet(string name, Image baseTexture, Image overlay)
|
||||
{
|
||||
Name = name;
|
||||
_layers[0] = baseTexture;
|
||||
_layers[1] = overlay;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user