Parse 12 vs 24 bit colors eventually

This commit is contained in:
Lani Aung
2021-10-02 19:18:58 -06:00
parent 66ccf83051
commit 4b4fffdbf1
15 changed files with 1447 additions and 29 deletions
+24
View File
@@ -0,0 +1,24 @@
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;
}
}
}
}