Files
fxl.codes.kisekae/Scripts/pto.ts
T
2021-10-11 21:08:17 -06:00

28 lines
434 B
TypeScript

export class Playset {
name: string
height: number
width: number
cels: Cel[]
enabledSets: boolean[]
}
export class Cel {
defaultImage: string
initialPositions: Coordinate[]
offset: Coordinate
sets: boolean[]
currentPositions: Coordinate[]
}
export class Coordinate {
x: number
y: number
constructor(x: number = 0, y: number = 0) {
this.x = x
this.y = y
}
}