Stripping out material because meh. Also loading in cels at the right ordering

This commit is contained in:
Lani Aung
2024-02-11 16:14:51 -07:00
parent 70c85d0e18
commit bf5a47c650
25 changed files with 1167 additions and 12116 deletions
+21
View File
@@ -0,0 +1,21 @@
import {fabric} from "fabric";
export interface Playset {
readonly borderColor: string;
readonly name: string;
readonly height: number;
readonly width: number;
readonly cels: Cel[];
readonly sets: boolean[];
}
export interface Cel {
readonly mark: number;
readonly fix: number;
readonly initialPositions: { [key: number]: fabric.Point };
readonly offset: fabric.Point;
readonly image: string;
readonly zIndex: number;
readonly height: number;
readonly width: number;
}