Latest
This commit is contained in:
+15
-14
@@ -1,24 +1,25 @@
|
||||
export class Playset {
|
||||
name: string
|
||||
height: number
|
||||
width: number
|
||||
|
||||
cels: Cel[]
|
||||
enabledSets: boolean[]
|
||||
export interface Playset {
|
||||
readonly name: string
|
||||
readonly height: number
|
||||
readonly width: number
|
||||
readonly cels: Cel[]
|
||||
readonly enabledSets: boolean[]
|
||||
}
|
||||
|
||||
export class Cel {
|
||||
defaultImage: string
|
||||
initialPositions: Coordinate[]
|
||||
offset: Coordinate
|
||||
sets: boolean[]
|
||||
export interface Cel {
|
||||
readonly id: number
|
||||
readonly fix: number
|
||||
readonly initialPositions: Coordinate[]
|
||||
readonly offset: Coordinate
|
||||
readonly sets: boolean[]
|
||||
|
||||
currentPositions: Coordinate[]
|
||||
currentFix: number
|
||||
}
|
||||
|
||||
export class Coordinate {
|
||||
x: number
|
||||
y: number
|
||||
readonly x: number
|
||||
readonly y: number
|
||||
|
||||
constructor(x: number = 0, y: number = 0) {
|
||||
this.x = x
|
||||
|
||||
Reference in New Issue
Block a user