Stripping out material because meh. Also loading in cels at the right ordering
This commit is contained in:
@@ -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;
|
||||
}
|
||||
Reference in New Issue
Block a user