Files
fxl.codes.kisekae/Models/PlaysetModel.cs
T

24 lines
641 B
C#

using System.Collections.Generic;
namespace fxl.codes.kisekae.Models
{
public class PlaysetModel
{
public int Height { get; set; }
public int Width { get; set; }
public int BorderColorIndex { get; set; }
public List<PaletteModel> Palettes { get; } = new();
public List<CelModel> Cels { get; } = new();
public int[] CurrentPalettes = new int[10];
public void Reset()
{
foreach (var cel in Cels)
{
cel.CurrentPositions = cel.InitialPositions;
cel.CurrentPaletteId = cel.PaletteId;
}
}
}
}