Sunda Cyber Army


* Sunda Cyber Army 2k17 *
Indonesia Defacer ~


Path : /home/dent/public_html/accounts/configurator/js/
File Upload :
Current File : /home/dent/public_html/accounts/configurator/js/defaultMpasData.js

class defaultMpasData {
  constructor(ladderStep, defaultName = "default") {
    this.height = ladderStep?.split("_")?.[0] ?? 0;
    this.length = ladderStep?.split("_")?.[1] ?? 0;
    this.ladderStep = ladderStep;
    this.defaultName = defaultName;
    this.MPASP120H9 = {
      //mountPoint: [new createjs.Point(-32,26), new createjs.Point(-60,-36), new createjs.Point(38,60), new createjs.Point(-10,-110)],
      mountPoint: [
        new createjs.Point(0, 0),
        new createjs.Point(0, 0),
        new createjs.Point(0, 0),
        new createjs.Point(0, 0),
      ],
      //connectorPoint: [new createjs.Point(36,60), new createjs.Point(-26,28), new createjs.Point(28,-26), new createjs.Point(60,36)],
      connectorPoint: [
        new createjs.Point(372, 215),
        new createjs.Point(0, 0),
        new createjs.Point(0, 0),
        new createjs.Point(0, 0),
      ],

      rotationOffsets: [
        new createjs.Point(0, 0),
        new createjs.Point(-60, 60),
        new createjs.Point(16, 42),
        new createjs.Point(0, 0),
      ],

      spriteSheet: new createjs.SpriteSheet({
        images: ["assets/spritesheets/MPASP120-9.png"],

        frames: { width: 467, height: 559 },
        //frames:[[467,0,467,559 ]],

        animations: {},
      }),
      spriteSheetButton: new createjs.SpriteSheet({
        images: ["assets/spritesheets/MPASP120-4.png"],

        frames: { width: 466, height: 398 },

        animations: {},
      }),

      spriteCenter: new createjs.Point(104, 130),
      spriteCenterButton: new createjs.Point(236, 140),

      altSkus: false,

      length: 120,

      width: 30,

      legsNeeded: false,

      legsLimit: 0,

      actsAsLegs: false,

      frameOffset: 0,

      childFrameOffset: 0,

      description: '120"L Platform',

      name: '120"L Platform',

      sku: "MPASP120",

      gsku: "29RJ32",

      altSkus: false,

      connectableParts: [
        "MPASP120H9R1",
        "MPASP120H9R2",
        "MPASP120H9C",
        "MPASP120H9L2",
        "MPASP120H9L1",
      ],
      //connectableParts: ["MPASP120H9"],

      usesSlot: 1,

      hasMountSlot: true,

      hasLegSlot: false,

      zOrderMod: [0, 0, 0, 0],

      iZOrderMod: [0, 0, 0, 0],

      forceDrawLast: false,

      forceDrawLastFrame: 0,

      bridgeSpan: true,

      turnPiece: false,

      legs: false,

      rails: false,

      ladder: false,

      isPlatformSelector: true,

      frameHighlights: [
        [
          [-17, 43],
          [74, -9],
          [94, 0],
          [0, 53],
        ],
        [
          [-20, 65],
          [0, 53],
          [92, 107],
          [69, 120],
        ],
        [
          [374, 271],
          [469, 217],
          [488, 232],
          [400, 286],
        ],
        [
          [116, -12],
          [212, 39],
          [183, 54],
          [94, 0],
        ],

        [
          [96, 113],
          [195, 168],
          [169, 183],
          [77, 128],
        ],
        [
          [188, 164],
          [285, 219],
          [256, 234],
          [159, 179],
        ],
        [
          [374, 271],
          [348, 286],
          [256, 231],
          [282, 216],
        ],
        [
          [277, 105],
          [180, 50],
          [206, 35],
          [303, 90],
        ],
        [
          [369, 159],
          [272, 104],
          [298, 89],
          [395, 144],
        ],
        [
          [466, 212],
          [370, 157],
          [395, 142],
          [492, 197],
        ],
      ],
      connectorSelector: 0,
      connectorModify: [
        new createjs.Point(372, 215),
        new createjs.Point(93, -54),
        new createjs.Point(-372, -215),
        new createjs.Point(-93, 54),

        new createjs.Point(0, -108),
        new createjs.Point(-93, -162),
        new createjs.Point(-186, -215),

        new createjs.Point(-186, 0),
        new createjs.Point(-279, -54),
        new createjs.Point(-368, -104),
      ],
      usedCoordinates: [
        { current: 0, parent: 2, name: "Front" },
        { current: 1, parent: 3, name: "Left" },
        { current: 2, parent: 0, name: "Back" },
        { current: 3, parent: 1, name: "Right" },

        { current: 1, parent: 3, name: "Left1" },
        { current: 1, parent: 3, name: "Left2" },
        { current: 1, parent: 3, name: "Left3" },

        { current: 3, parent: 1, name: "Right1" },
        { current: 3, parent: 1, name: "Right2" },
        { current: 3, parent: 1, name: "Right3" },
      ],
      sideSelector: false,
    };
    this.MPASP90H9 = {
      //mountPoint: [new createjs.Point(-32,26), new createjs.Point(-60,-36), new createjs.Point(38,60), new createjs.Point(-10,-110)],
      mountPoint: [
        new createjs.Point(0, 0),
        new createjs.Point(0, 0),
        new createjs.Point(0, 0),
        new createjs.Point(0, 0),
      ],
      //connectorPoint: [new createjs.Point(36,60), new createjs.Point(-26,28), new createjs.Point(28,-26), new createjs.Point(60,36)],
      connectorPoint: [
        new createjs.Point(278, 161),
        new createjs.Point(0, 0),
        new createjs.Point(0, 0),
        new createjs.Point(0, 0),
      ],

      rotationOffsets: [
        new createjs.Point(0, 0),
        new createjs.Point(-60, 60),
        new createjs.Point(16, 42),
        new createjs.Point(0, 0),
      ],

      spriteSheet: new createjs.SpriteSheet({
        images: ["assets/spritesheets/MPASP90-9.png"],

        frames: { width: 372, height: 506 },

        animations: {},
      }),

      spriteCenter: new createjs.Point(104, 130),
      spriteCenterButton: new createjs.Point(236, 140),

      altSkus: false,

      length: 90,

      width: 30,

      legsNeeded: false,

      legsLimit: 0,

      actsAsLegs: false,

      frameOffset: 0,

      childFrameOffset: 0,

      description: '90"L Platform',

      name: '90"L Platform',

      sku: "MPASP90",

      gsku: "29RJ32",

      altSkus: false,

      connectableParts: [
        "MPASP90H9L1",
        "MPASP90H9C",
        "MPASP90H9R2",
        "MPASP90H9R1",
      ],

      usesSlot: 1,

      hasMountSlot: true,

      hasLegSlot: false,

      zOrderMod: [0, 0, 0, 0],

      iZOrderMod: [0, 0, 0, 0],

      forceDrawLast: false,

      forceDrawLastFrame: 0,

      bridgeSpan: true,

      turnPiece: false,

      legs: false,

      rails: false,

      ladder: false,

      spriteSheetButton: new createjs.SpriteSheet({
        images: ["assets/spritesheets/MPASP90-4.png"],

        frames: { width: 373, height: 344 },

        animations: {},
      }),

      isPlatformSelector: true,

      //changes for 90
      frameHighlights: [
        [
          [-17, 43],
          [74, -9],
          [94, 0],
          [0, 53],
        ],
        [
          [-20, 65],
          [0, 53],
          [92, 107],
          [69, 120],
        ],
        [
          [374, 271],
          [469, 217],
          [488, 232],
          [400, 286],
        ],
        [
          [116, -12],
          [212, 39],
          [183, 54],
          [94, 0],
        ],

        [
          [96, 113],
          [195, 168],
          [169, 183],
          [77, 128],
        ],
        [
          [188, 164],
          [285, 219],
          [256, 234],
          [159, 179],
        ],
        [
          [374, 271],
          [348, 286],
          [256, 231],
          [282, 216],
        ],
        [
          [277, 105],
          [180, 50],
          [206, 35],
          [303, 90],
        ],
        [
          [369, 159],
          [272, 104],
          [298, 89],
          [395, 144],
        ],
        [
          [466, 212],
          [370, 157],
          [395, 142],
          [492, 197],
        ],
      ],
      connectorSelector: 0,
      connectorModify: [
        new createjs.Point(372, 215),
        new createjs.Point(93, -54),
        new createjs.Point(-372, -215),
        new createjs.Point(-93, 54),

        new createjs.Point(0, -108),
        new createjs.Point(-93, -162),
        new createjs.Point(-186, -215),

        new createjs.Point(-186, 0),
        new createjs.Point(-279, -54),
        new createjs.Point(-368, -104),
      ],
      usedCoordinates: [
        { current: 0, parent: 2, name: "Front" },
        { current: 1, parent: 3, name: "Left" },
        { current: 2, parent: 0, name: "Back" },
        { current: 3, parent: 1, name: "Right" },

        { current: 1, parent: 3, name: "Left1" },
        { current: 1, parent: 3, name: "Left2" },
        { current: 1, parent: 3, name: "Left3" },

        { current: 3, parent: 1, name: "Right1" },
        { current: 3, parent: 1, name: "Right2" },
        { current: 3, parent: 1, name: "Right3" },
      ],
      sideSelector: false,
    };
    this.MPASP60H9 = {
      //mountPoint: [new createjs.Point(-32,26), new createjs.Point(-60,-36), new createjs.Point(38,60), new createjs.Point(-10,-110)],
      mountPoint: [
        new createjs.Point(0, 0),
        new createjs.Point(0, 0),
        new createjs.Point(0, 0),
        new createjs.Point(0, 0),
      ],
      //connectorPoint: [new createjs.Point(186,107), new createjs.Point(-26,28), new createjs.Point(28,-26), new createjs.Point(60,36)],
      connectorPoint: [
        new createjs.Point(186, 107),
        new createjs.Point(0, 0),
        new createjs.Point(0, 0),
        new createjs.Point(0, 0),
      ],

      rotationOffsets: [
        new createjs.Point(0, 0),
        new createjs.Point(-60, 60),
        new createjs.Point(16, 42),
        new createjs.Point(0, 0),
      ],

      spriteSheet: new createjs.SpriteSheet({
        images: ["assets/spritesheets/MPASP60-9.png"],

        frames: { width: 280, height: 452 },

        animations: {},
      }),

      spriteCenter: new createjs.Point(104, 130),
      spriteCenterButton: new createjs.Point(130, 90),

      altSkus: false,

      length: 60,

      width: 30,

      legsNeeded: false,

      legsLimit: 0,

      actsAsLegs: false,

      frameOffset: 0,

      childFrameOffset: 0,

      description: '60"L Platform',

      name: '60"L Platform',

      sku: "MPASP60",

      gsku: "29RJ32",

      altSkus: false,

      connectableParts: ["MPASP60H9L1", "MPASP60H9C", "MPASP60H9R2"],

      usesSlot: 1,

      hasMountSlot: true,

      hasLegSlot: false,

      zOrderMod: [0, 0, 0, 0],

      iZOrderMod: [0, 0, 0, 0],

      forceDrawLast: false,

      forceDrawLastFrame: 0,

      bridgeSpan: true,

      turnPiece: false,

      legs: false,

      rails: false,

      ladder: false,

      spriteSheetButton: new createjs.SpriteSheet({
        images: ["assets/spritesheets/MPASP60-4.png"],

        frames: { width: 280, height: 290 },

        animations: {},
      }),

      isPlatformSelector: true,

      frameHighlights: [
        [
          [-17, 43],
          [74, -9],
          [94, 0],
          [0, 53],
        ],
        [
          [-20, 65],
          [0, 53],
          [92, 107],
          [69, 120],
        ],
        [
          [374, 271],
          [469, 217],
          [488, 232],
          [400, 286],
        ],
        [
          [116, -12],
          [212, 39],
          [183, 54],
          [94, 0],
        ],

        [
          [96, 113],
          [195, 168],
          [169, 183],
          [77, 128],
        ],
        [
          [188, 164],
          [285, 219],
          [256, 234],
          [159, 179],
        ],
        [
          [374, 271],
          [348, 286],
          [256, 231],
          [282, 216],
        ],
        [
          [277, 105],
          [180, 50],
          [206, 35],
          [303, 90],
        ],
        [
          [369, 159],
          [272, 104],
          [298, 89],
          [395, 144],
        ],
        [
          [466, 212],
          [370, 157],
          [395, 142],
          [492, 197],
        ],
      ],
      connectorSelector: 0,
      connectorModify: [
        new createjs.Point(372, 215),
        new createjs.Point(93, -54),
        new createjs.Point(-372, -215),
        new createjs.Point(-93, 54),

        new createjs.Point(0, -108),
        new createjs.Point(-93, -162),
        new createjs.Point(-186, -215),

        new createjs.Point(-186, 0),
        new createjs.Point(-279, -54),
        new createjs.Point(-368, -104),
      ],
      usedCoordinates: [
        { current: 0, parent: 2, name: "Front" },
        { current: 1, parent: 3, name: "Left" },
        { current: 2, parent: 0, name: "Back" },
        { current: 3, parent: 1, name: "Right" },

        { current: 1, parent: 3, name: "Left1" },
        { current: 1, parent: 3, name: "Left2" },
        { current: 1, parent: 3, name: "Left3" },

        { current: 3, parent: 1, name: "Right1" },
        { current: 3, parent: 1, name: "Right2" },
        { current: 3, parent: 1, name: "Right3" },
      ],
      sideSelector: false,
    };

    this.MPASP120H8 = {
      //mountPoint: [new createjs.Point(-32,26), new createjs.Point(-60,-36), new createjs.Point(38,60), new createjs.Point(-10,-110)],
      mountPoint: [
        new createjs.Point(0, 0),
        new createjs.Point(0, 0),
        new createjs.Point(0, 0),
        new createjs.Point(0, 0),
      ],
      //connectorPoint: [new createjs.Point(36,60), new createjs.Point(-26,28), new createjs.Point(28,-26), new createjs.Point(60,36)],
      connectorPoint: [
        new createjs.Point(372, 215),
        new createjs.Point(0, 0),
        new createjs.Point(0, 0),
        new createjs.Point(0, 0),
      ],

      rotationOffsets: [
        new createjs.Point(0, 0),
        new createjs.Point(-60, 60),
        new createjs.Point(16, 42),
        new createjs.Point(0, 0),
      ],

      spriteSheet: new createjs.SpriteSheet({
        images: ["assets/spritesheets/MPASP120-8.png"],

        frames: { width: 466, height: 527 },

        animations: {},
      }),

      spriteCenter: new createjs.Point(104, 80),
      spriteCenterButton: new createjs.Point(236, 140),

      altSkus: false,

      length: 120,

      width: 30,

      legsNeeded: false,

      legsLimit: 0,

      actsAsLegs: false,

      frameOffset: 0,

      childFrameOffset: 0,

      description: '120"L Platform',

      name: '120"L Platform',

      sku: "MPASP120",

      gsku: "29RJ32",

      altSkus: false,

      connectableParts: [
        "MPASP120H8R1",
        "MPASP120H8R2",
        "MPASP120H8C",
        "MPASP120H8L2",
        "MPASP120H8L1",
      ],

      usesSlot: 1,

      hasMountSlot: true,

      hasLegSlot: false,

      zOrderMod: [0, 0, 0, 0],

      iZOrderMod: [0, 0, 0, 0],

      forceDrawLast: false,

      forceDrawLastFrame: 0,

      bridgeSpan: true,

      turnPiece: false,

      legs: false,

      rails: false,

      ladder: false,

      isPlatformSelector: true,

      frameHighlights: [
        [
          [-17, 43],
          [74, -9],
          [94, 0],
          [0, 53],
        ],
        [
          [-20, 65],
          [0, 53],
          [92, 107],
          [69, 120],
        ],
        [
          [374, 271],
          [469, 217],
          [488, 232],
          [400, 286],
        ],
        [
          [116, -12],
          [212, 39],
          [183, 54],
          [94, 0],
        ],

        [
          [96, 113],
          [195, 168],
          [169, 183],
          [77, 128],
        ],
        [
          [188, 164],
          [285, 219],
          [256, 234],
          [159, 179],
        ],
        [
          [374, 271],
          [348, 286],
          [256, 231],
          [282, 216],
        ],
        [
          [277, 105],
          [180, 50],
          [206, 35],
          [303, 90],
        ],
        [
          [369, 159],
          [272, 104],
          [298, 89],
          [395, 144],
        ],
        [
          [466, 212],
          [370, 157],
          [395, 142],
          [492, 197],
        ],
      ],
      connectorSelector: 0,
      connectorModify: [
        new createjs.Point(372, 215),
        new createjs.Point(93, -54),
        new createjs.Point(-372, -215),
        new createjs.Point(-93, 54),

        new createjs.Point(0, -108),
        new createjs.Point(-93, -162),
        new createjs.Point(-186, -215),

        new createjs.Point(-186, 0),
        new createjs.Point(-279, -54),
        new createjs.Point(-368, -104),
      ],
      usedCoordinates: [
        { current: 0, parent: 2, name: "Front" },
        { current: 1, parent: 3, name: "Left" },
        { current: 2, parent: 0, name: "Back" },
        { current: 3, parent: 1, name: "Right" },

        { current: 1, parent: 3, name: "Left1" },
        { current: 1, parent: 3, name: "Left2" },
        { current: 1, parent: 3, name: "Left3" },

        { current: 3, parent: 1, name: "Right1" },
        { current: 3, parent: 1, name: "Right2" },
        { current: 3, parent: 1, name: "Right3" },
      ],
      sideSelector: false,
    };

    this.MPASP90H8 = {
      //mountPoint: [new createjs.Point(-32,26), new createjs.Point(-60,-36), new createjs.Point(38,60), new createjs.Point(-10,-110)],
      mountPoint: [
        new createjs.Point(0, 0),
        new createjs.Point(0, 0),
        new createjs.Point(0, 0),
        new createjs.Point(0, 0),
      ],
      //connectorPoint: [new createjs.Point(36,60), new createjs.Point(-26,28), new createjs.Point(28,-26), new createjs.Point(60,36)],
      connectorPoint: [
        new createjs.Point(278, 161),
        new createjs.Point(0, 0),
        new createjs.Point(0, 0),
        new createjs.Point(0, 0),
      ],

      rotationOffsets: [
        new createjs.Point(0, 0),
        new createjs.Point(-60, 60),
        new createjs.Point(16, 42),
        new createjs.Point(0, 0),
      ],

      spriteSheet: new createjs.SpriteSheet({
        images: ["assets/spritesheets/MPASP90-8.png"],

        frames: { width: 373, height: 473 },

        animations: {},
      }),

      spriteCenter: new createjs.Point(104, 80),
      spriteCenterButton: new createjs.Point(180, 120),

      altSkus: false,

      length: 90,

      width: 30,

      legsNeeded: false,

      legsLimit: 0,

      actsAsLegs: false,

      frameOffset: 0,

      childFrameOffset: 0,

      description: '90"L Platform',

      name: '90"L Platform',

      sku: "MPASP90",

      gsku: "29RJ32",

      altSkus: false,

      connectableParts: [
        "MPASP90H8L1",
        "MPASP90H8C",
        "MPASP90H8R2",
        "MPASP90H8R1",
      ],

      usesSlot: 1,

      hasMountSlot: true,

      hasLegSlot: false,

      zOrderMod: [0, 0, 0, 0],

      iZOrderMod: [0, 0, 0, 0],

      forceDrawLast: false,

      forceDrawLastFrame: 0,

      bridgeSpan: true,

      turnPiece: false,

      legs: false,

      rails: false,

      ladder: false,

      spriteSheetButton: new createjs.SpriteSheet({
        images: ["assets/spritesheets/MPASP90-4.png"],

        frames: { width: 373, height: 344 },

        animations: {},
      }),

      isPlatformSelector: true,
      frameHighlights: [
        [
          [-17, 43],
          [74, -9],
          [94, 0],
          [0, 53],
        ],
        [
          [-20, 65],
          [0, 53],
          [92, 107],
          [69, 120],
        ],
        [
          [374, 271],
          [469, 217],
          [488, 232],
          [400, 286],
        ],
        [
          [116, -12],
          [212, 39],
          [183, 54],
          [94, 0],
        ],

        [
          [96, 113],
          [195, 168],
          [169, 183],
          [77, 128],
        ],
        [
          [188, 164],
          [285, 219],
          [256, 234],
          [159, 179],
        ],
        [
          [374, 271],
          [348, 286],
          [256, 231],
          [282, 216],
        ],
        [
          [277, 105],
          [180, 50],
          [206, 35],
          [303, 90],
        ],
        [
          [369, 159],
          [272, 104],
          [298, 89],
          [395, 144],
        ],
        [
          [466, 212],
          [370, 157],
          [395, 142],
          [492, 197],
        ],
      ],
      connectorSelector: 0,
      connectorModify: [
        new createjs.Point(372, 215),
        new createjs.Point(93, -54),
        new createjs.Point(-372, -215),
        new createjs.Point(-93, 54),

        new createjs.Point(0, -108),
        new createjs.Point(-93, -162),
        new createjs.Point(-186, -215),

        new createjs.Point(-186, 0),
        new createjs.Point(-279, -54),
        new createjs.Point(-368, -104),
      ],
      usedCoordinates: [
        { current: 0, parent: 2, name: "Front" },
        { current: 1, parent: 3, name: "Left" },
        { current: 2, parent: 0, name: "Back" },
        { current: 3, parent: 1, name: "Right" },

        { current: 1, parent: 3, name: "Left1" },
        { current: 1, parent: 3, name: "Left2" },
        { current: 1, parent: 3, name: "Left3" },

        { current: 3, parent: 1, name: "Right1" },
        { current: 3, parent: 1, name: "Right2" },
        { current: 3, parent: 1, name: "Right3" },
      ],
      sideSelector: false,
    };

    this.MPASP60H8 = {
      //mountPoint: [new createjs.Point(-32,26), new createjs.Point(-60,-36), new createjs.Point(38,60), new createjs.Point(-10,-110)],
      mountPoint: [
        new createjs.Point(0, 0),
        new createjs.Point(0, 0),
        new createjs.Point(0, 0),
        new createjs.Point(0, 0),
      ],
      //connectorPoint: [new createjs.Point(186,107), new createjs.Point(-26,28), new createjs.Point(28,-26), new createjs.Point(60,36)],
      connectorPoint: [
        new createjs.Point(186, 107),
        new createjs.Point(0, 0),
        new createjs.Point(0, 0),
        new createjs.Point(0, 0),
      ],

      rotationOffsets: [
        new createjs.Point(0, 0),
        new createjs.Point(-60, 60),
        new createjs.Point(16, 42),
        new createjs.Point(0, 0),
      ],

      spriteSheet: new createjs.SpriteSheet({
        images: ["assets/spritesheets/MPASP60-8.png"],

        frames: { width: 281, height: 420 },

        animations: {},
      }),

      spriteCenter: new createjs.Point(104, 80),
      spriteCenterButton: new createjs.Point(130, 90),

      altSkus: false,

      length: 60,

      width: 30,

      legsNeeded: false,

      legsLimit: 0,

      actsAsLegs: false,

      frameOffset: 0,

      childFrameOffset: 0,

      description: '60"L Platform',

      name: '60"L Platform',

      sku: "MPASP60",

      gsku: "29RJ32",

      altSkus: false,

      connectableParts: ["MPASP60H8L1", "MPASP60H8C", "MPASP60H8R2"],

      usesSlot: 1,

      hasMountSlot: true,

      hasLegSlot: false,

      zOrderMod: [0, 0, 0, 0],

      iZOrderMod: [0, 0, 0, 0],

      forceDrawLast: false,

      forceDrawLastFrame: 0,

      bridgeSpan: true,

      turnPiece: false,

      legs: false,

      rails: false,

      ladder: false,

      spriteSheetButton: new createjs.SpriteSheet({
        images: ["assets/spritesheets/MPASP60-4.png"],

        frames: { width: 280, height: 290 },

        animations: {},
      }),

      isPlatformSelector: true,

      frameHighlights: [
        [
          [-17, 43],
          [74, -9],
          [94, 0],
          [0, 53],
        ],
        [
          [-20, 65],
          [0, 53],
          [92, 107],
          [69, 120],
        ],
        [
          [374, 271],
          [469, 217],
          [488, 232],
          [400, 286],
        ],
        [
          [116, -12],
          [212, 39],
          [183, 54],
          [94, 0],
        ],

        [
          [96, 113],
          [195, 168],
          [169, 183],
          [77, 128],
        ],
        [
          [188, 164],
          [285, 219],
          [256, 234],
          [159, 179],
        ],
        [
          [374, 271],
          [348, 286],
          [256, 231],
          [282, 216],
        ],
        [
          [277, 105],
          [180, 50],
          [206, 35],
          [303, 90],
        ],
        [
          [369, 159],
          [272, 104],
          [298, 89],
          [395, 144],
        ],
        [
          [466, 212],
          [370, 157],
          [395, 142],
          [492, 197],
        ],
      ],
      connectorSelector: 0,
      connectorModify: [
        new createjs.Point(372, 215),
        new createjs.Point(93, -54),
        new createjs.Point(-372, -215),
        new createjs.Point(-93, 54),

        new createjs.Point(0, -108),
        new createjs.Point(-93, -162),
        new createjs.Point(-186, -215),

        new createjs.Point(-186, 0),
        new createjs.Point(-279, -54),
        new createjs.Point(-368, -104),
      ],
      usedCoordinates: [
        { current: 0, parent: 2, name: "Front" },
        { current: 1, parent: 3, name: "Left" },
        { current: 2, parent: 0, name: "Back" },
        { current: 3, parent: 1, name: "Right" },

        { current: 1, parent: 3, name: "Left1" },
        { current: 1, parent: 3, name: "Left2" },
        { current: 1, parent: 3, name: "Left3" },

        { current: 3, parent: 1, name: "Right1" },
        { current: 3, parent: 1, name: "Right2" },
        { current: 3, parent: 1, name: "Right3" },
      ],
      sideSelector: false,
    };

    this.MPASP120H7 = {
      //mountPoint: [new createjs.Point(-32,26), new createjs.Point(-60,-36), new createjs.Point(38,60), new createjs.Point(-10,-110)],
      mountPoint: [
        new createjs.Point(0, 0),
        new createjs.Point(0, 0),
        new createjs.Point(0, 0),
        new createjs.Point(0, 0),
      ],
      //connectorPoint: [new createjs.Point(36,60), new createjs.Point(-26,28), new createjs.Point(28,-26), new createjs.Point(60,36)],
      connectorPoint: [
        new createjs.Point(372, 215),
        new createjs.Point(0, 0),
        new createjs.Point(0, 0),
        new createjs.Point(0, 0),
      ],

      rotationOffsets: [
        new createjs.Point(0, 0),
        new createjs.Point(-60, 60),
        new createjs.Point(16, 42),
        new createjs.Point(0, 0),
      ],

      spriteSheet: new createjs.SpriteSheet({
        images: ["assets/spritesheets/MPASP120-7.png"],

        frames: { width: 467, height: 495 },

        animations: {},
      }),

      spriteCenter: new createjs.Point(52, 42),
      spriteCenterButton: new createjs.Point(236, 140),

      altSkus: false,

      length: 120,

      width: 30,

      legsNeeded: false,

      legsLimit: 0,

      actsAsLegs: false,

      frameOffset: 0,

      childFrameOffset: 0,

      description: '120"L Platform',

      name: '120"L Platform',

      sku: "MPASP120",

      gsku: "29RJ32",

      altSkus: false,

      connectableParts: [
        "MPASP120H7R1",
        "MPASP120H7R2",
        "MPASP120H7C",
        "MPASP120H7L2",
        "MPASP120H7L1",
      ],

      usesSlot: 1,

      hasMountSlot: true,

      hasLegSlot: false,

      zOrderMod: [0, 0, 0, 0],

      iZOrderMod: [0, 0, 0, 0],

      forceDrawLast: false,

      forceDrawLastFrame: 0,

      bridgeSpan: true,

      turnPiece: false,

      legs: false,

      rails: false,

      ladder: false,

      isPlatformSelector: true,

      frameHighlights: [
        [
          [-17, 43],
          [74, -9],
          [94, 0],
          [0, 53],
        ],
        [
          [-20, 65],
          [0, 53],
          [92, 107],
          [69, 120],
        ],
        [
          [374, 271],
          [469, 217],
          [488, 232],
          [400, 286],
        ],
        [
          [116, -12],
          [212, 39],
          [183, 54],
          [94, 0],
        ],

        [
          [96, 113],
          [195, 168],
          [169, 183],
          [77, 128],
        ],
        [
          [188, 164],
          [285, 219],
          [256, 234],
          [159, 179],
        ],
        [
          [374, 271],
          [348, 286],
          [256, 231],
          [282, 216],
        ],
        [
          [277, 105],
          [180, 50],
          [206, 35],
          [303, 90],
        ],
        [
          [369, 159],
          [272, 104],
          [298, 89],
          [395, 144],
        ],
        [
          [466, 212],
          [370, 157],
          [395, 142],
          [492, 197],
        ],
      ],
      connectorSelector: 0,
      connectorModify: [
        new createjs.Point(372, 215),
        new createjs.Point(93, -54),
        new createjs.Point(-372, -215),
        new createjs.Point(-93, 54),

        new createjs.Point(0, -108),
        new createjs.Point(-93, -162),
        new createjs.Point(-186, -215),

        new createjs.Point(-186, 0),
        new createjs.Point(-279, -54),
        new createjs.Point(-368, -104),
      ],
      usedCoordinates: [
        { current: 0, parent: 2, name: "Front" },
        { current: 1, parent: 3, name: "Left" },
        { current: 2, parent: 0, name: "Back" },
        { current: 3, parent: 1, name: "Right" },

        { current: 1, parent: 3, name: "Left1" },
        { current: 1, parent: 3, name: "Left2" },
        { current: 1, parent: 3, name: "Left3" },

        { current: 3, parent: 1, name: "Right1" },
        { current: 3, parent: 1, name: "Right2" },
        { current: 3, parent: 1, name: "Right3" },
      ],
      sideSelector: false,
    };

    this.MPASP90H7 = {
      //mountPoint: [new createjs.Point(-32,26), new createjs.Point(-60,-36), new createjs.Point(38,60), new createjs.Point(-10,-110)],
      mountPoint: [
        new createjs.Point(0, 0),
        new createjs.Point(0, 0),
        new createjs.Point(0, 0),
        new createjs.Point(0, 0),
      ],
      //connectorPoint: [new createjs.Point(36,60), new createjs.Point(-26,28), new createjs.Point(28,-26), new createjs.Point(60,36)],
      connectorPoint: [
        new createjs.Point(278, 161),
        new createjs.Point(0, 0),
        new createjs.Point(0, 0),
        new createjs.Point(0, 0),
      ],

      rotationOffsets: [
        new createjs.Point(0, 0),
        new createjs.Point(-60, 60),
        new createjs.Point(16, 42),
        new createjs.Point(0, 0),
      ],

      spriteSheet: new createjs.SpriteSheet({
        images: ["assets/spritesheets/MPASP90-7.png"],

        frames: { width: 373, height: 441 },

        animations: {},
      }),

      spriteCenter: new createjs.Point(54, 40),
      spriteCenterButton: new createjs.Point(180, 120),

      altSkus: false,

      length: 90,

      width: 30,

      legsNeeded: false,

      legsLimit: 0,

      actsAsLegs: false,

      frameOffset: 0,

      childFrameOffset: 0,

      description: '90"L Platform',

      name: '90"L Platform',

      sku: "MPASP90",

      gsku: "29RJ32",

      altSkus: false,

      connectableParts: [
        "MPASP90H7L1",
        "MPASP90H7C",
        "MPASP90H7R2",
        "MPASP90H7R1",
      ],

      usesSlot: 1,

      hasMountSlot: true,

      hasLegSlot: false,

      zOrderMod: [0, 0, 0, 0],

      iZOrderMod: [0, 0, 0, 0],

      forceDrawLast: false,

      forceDrawLastFrame: 0,

      bridgeSpan: true,

      turnPiece: false,

      legs: false,

      rails: false,

      ladder: false,

      spriteSheetButton: new createjs.SpriteSheet({
        images: ["assets/spritesheets/MPASP90-4.png"],

        frames: { width: 373, height: 344 },

        animations: {},
      }),

      isPlatformSelector: true,
      frameHighlights: [
        [
          [-17, 43],
          [74, -9],
          [94, 0],
          [0, 53],
        ],
        [
          [-20, 65],
          [0, 53],
          [92, 107],
          [69, 120],
        ],
        [
          [374, 271],
          [469, 217],
          [488, 232],
          [400, 286],
        ],
        [
          [116, -12],
          [212, 39],
          [183, 54],
          [94, 0],
        ],

        [
          [96, 113],
          [195, 168],
          [169, 183],
          [77, 128],
        ],
        [
          [188, 164],
          [285, 219],
          [256, 234],
          [159, 179],
        ],
        [
          [374, 271],
          [348, 286],
          [256, 231],
          [282, 216],
        ],
        [
          [277, 105],
          [180, 50],
          [206, 35],
          [303, 90],
        ],
        [
          [369, 159],
          [272, 104],
          [298, 89],
          [395, 144],
        ],
        [
          [466, 212],
          [370, 157],
          [395, 142],
          [492, 197],
        ],
      ],
      connectorSelector: 0,
      connectorModify: [
        new createjs.Point(372, 215),
        new createjs.Point(93, -54),
        new createjs.Point(-372, -215),
        new createjs.Point(-93, 54),

        new createjs.Point(0, -108),
        new createjs.Point(-93, -162),
        new createjs.Point(-186, -215),

        new createjs.Point(-186, 0),
        new createjs.Point(-279, -54),
        new createjs.Point(-368, -104),
      ],
      usedCoordinates: [
        { current: 0, parent: 2, name: "Front" },
        { current: 1, parent: 3, name: "Left" },
        { current: 2, parent: 0, name: "Back" },
        { current: 3, parent: 1, name: "Right" },

        { current: 1, parent: 3, name: "Left1" },
        { current: 1, parent: 3, name: "Left2" },
        { current: 1, parent: 3, name: "Left3" },

        { current: 3, parent: 1, name: "Right1" },
        { current: 3, parent: 1, name: "Right2" },
        { current: 3, parent: 1, name: "Right3" },
      ],
      sideSelector: false,
    };

    this.MPASP60H7 = {
      //mountPoint: [new createjs.Point(-32,26), new createjs.Point(-60,-36), new createjs.Point(38,60), new createjs.Point(-10,-110)],
      mountPoint: [
        new createjs.Point(0, 0),
        new createjs.Point(0, 0),
        new createjs.Point(0, 0),
        new createjs.Point(0, 0),
      ],
      //connectorPoint: [new createjs.Point(186,107), new createjs.Point(-26,28), new createjs.Point(28,-26), new createjs.Point(60,36)],
      connectorPoint: [
        new createjs.Point(186, 107),
        new createjs.Point(0, 0),
        new createjs.Point(0, 0),
        new createjs.Point(0, 0),
      ],

      rotationOffsets: [
        new createjs.Point(0, 0),
        new createjs.Point(-60, 60),
        new createjs.Point(16, 42),
        new createjs.Point(0, 0),
      ],

      spriteSheet: new createjs.SpriteSheet({
        images: ["assets/spritesheets/MPASP60-7.png"],

        frames: { width: 280, height: 387 },

        animations: {},
      }),

      spriteCenter: new createjs.Point(54, 40),
      spriteCenterButton: new createjs.Point(130, 90),

      altSkus: false,

      length: 60,

      width: 30,

      legsNeeded: false,

      legsLimit: 0,

      actsAsLegs: false,

      frameOffset: 0,

      childFrameOffset: 0,

      description: '60"L Platform',

      name: '60"L Platform',

      sku: "MPASP60",

      gsku: "29RJ32",

      altSkus: false,

      connectableParts: ["MPASP60H7L1", "MPASP60H7C", "MPASP60H7R2"],

      usesSlot: 1,

      hasMountSlot: true,

      hasLegSlot: false,

      zOrderMod: [0, 0, 0, 0],

      iZOrderMod: [0, 0, 0, 0],

      forceDrawLast: false,

      forceDrawLastFrame: 0,

      bridgeSpan: true,

      turnPiece: false,

      legs: false,

      rails: false,

      ladder: false,

      spriteSheetButton: new createjs.SpriteSheet({
        images: ["assets/spritesheets/MPASP60-4.png"],

        frames: { width: 280, height: 290 },

        animations: {},
      }),

      isPlatformSelector: true,

      frameHighlights: [
        [
          [-17, 43],
          [74, -9],
          [94, 0],
          [0, 53],
        ],
        [
          [-20, 65],
          [0, 53],
          [92, 107],
          [69, 120],
        ],
        [
          [374, 271],
          [469, 217],
          [488, 232],
          [400, 286],
        ],
        [
          [116, -12],
          [212, 39],
          [183, 54],
          [94, 0],
        ],

        [
          [96, 113],
          [195, 168],
          [169, 183],
          [77, 128],
        ],
        [
          [188, 164],
          [285, 219],
          [256, 234],
          [159, 179],
        ],
        [
          [374, 271],
          [348, 286],
          [256, 231],
          [282, 216],
        ],
        [
          [277, 105],
          [180, 50],
          [206, 35],
          [303, 90],
        ],
        [
          [369, 159],
          [272, 104],
          [298, 89],
          [395, 144],
        ],
        [
          [466, 212],
          [370, 157],
          [395, 142],
          [492, 197],
        ],
      ],
      connectorSelector: 0,
      connectorModify: [
        new createjs.Point(372, 215),
        new createjs.Point(93, -54),
        new createjs.Point(-372, -215),
        new createjs.Point(-93, 54),

        new createjs.Point(0, -108),
        new createjs.Point(-93, -162),
        new createjs.Point(-186, -215),

        new createjs.Point(-186, 0),
        new createjs.Point(-279, -54),
        new createjs.Point(-368, -104),
      ],
      usedCoordinates: [
        { current: 0, parent: 2, name: "Front" },
        { current: 1, parent: 3, name: "Left" },
        { current: 2, parent: 0, name: "Back" },
        { current: 3, parent: 1, name: "Right" },

        { current: 1, parent: 3, name: "Left1" },
        { current: 1, parent: 3, name: "Left2" },
        { current: 1, parent: 3, name: "Left3" },

        { current: 3, parent: 1, name: "Right1" },
        { current: 3, parent: 1, name: "Right2" },
        { current: 3, parent: 1, name: "Right3" },
      ],
      sideSelector: false,
    };

    this.MPASP120H6 = {
      //mountPoint: [new createjs.Point(-32,26), new createjs.Point(-60,-36), new createjs.Point(38,60), new createjs.Point(-10,-110)],
      mountPoint: [
        new createjs.Point(0, 0),
        new createjs.Point(0, 0),
        new createjs.Point(0, 0),
        new createjs.Point(0, 0),
      ],
      //connectorPoint: [new createjs.Point(36,60), new createjs.Point(-26,28), new createjs.Point(28,-26), new createjs.Point(60,36)],
      connectorPoint: [
        new createjs.Point(372, 215),
        new createjs.Point(0, 0),
        new createjs.Point(0, 0),
        new createjs.Point(0, 0),
      ],

      rotationOffsets: [
        new createjs.Point(0, 0),
        new createjs.Point(-60, 60),
        new createjs.Point(16, 42),
        new createjs.Point(0, 0),
      ],

      spriteSheet: new createjs.SpriteSheet({
        images: ["assets/spritesheets/MPASP120-6.png"],

        frames: { width: 467, height: 463 },

        animations: {},
      }),

      spriteCenter: new createjs.Point(23, 0),
      spriteCenterButton: new createjs.Point(236, 140),

      altSkus: false,

      length: 120,

      width: 30,

      legsNeeded: false,

      legsLimit: 0,

      actsAsLegs: false,

      frameOffset: 0,

      childFrameOffset: 0,

      description: '120"L Platform',

      name: '120"L Platform',

      sku: "MPASP120",

      gsku: "29RJ32",

      altSkus: false,

      connectableParts: [
        "MPASP120H6R1",
        "MPASP120H6R2",
        "MPASP120H6C",
        "MPASP120H6L2",
        "MPASP120H6L1",
      ],

      usesSlot: 1,

      hasMountSlot: true,

      hasLegSlot: false,

      zOrderMod: [0, 0, 0, 0],

      iZOrderMod: [0, 0, 0, 0],

      forceDrawLast: false,

      forceDrawLastFrame: 0,

      bridgeSpan: true,

      turnPiece: false,

      legs: false,

      rails: false,

      ladder: false,

      isPlatformSelector: true,

      frameHighlights: [
        [
          [-17, 43],
          [74, -9],
          [94, 0],
          [0, 53],
        ],
        [
          [-20, 65],
          [0, 53],
          [92, 107],
          [69, 120],
        ],
        [
          [374, 271],
          [469, 217],
          [488, 232],
          [400, 286],
        ],
        [
          [116, -12],
          [212, 39],
          [183, 54],
          [94, 0],
        ],

        [
          [96, 113],
          [195, 168],
          [169, 183],
          [77, 128],
        ],
        [
          [188, 164],
          [285, 219],
          [256, 234],
          [159, 179],
        ],
        [
          [374, 271],
          [348, 286],
          [256, 231],
          [282, 216],
        ],
        [
          [277, 105],
          [180, 50],
          [206, 35],
          [303, 90],
        ],
        [
          [369, 159],
          [272, 104],
          [298, 89],
          [395, 144],
        ],
        [
          [466, 212],
          [370, 157],
          [395, 142],
          [492, 197],
        ],
      ],
      connectorSelector: 0,
      connectorModify: [
        new createjs.Point(372, 215),
        new createjs.Point(93, -54),
        new createjs.Point(-372, -215),
        new createjs.Point(-93, 54),

        new createjs.Point(0, -108),
        new createjs.Point(-93, -162),
        new createjs.Point(-186, -215),

        new createjs.Point(-186, 0),
        new createjs.Point(-279, -54),
        new createjs.Point(-368, -104),
      ],
      usedCoordinates: [
        { current: 0, parent: 2, name: "Front" },
        { current: 1, parent: 3, name: "Left" },
        { current: 2, parent: 0, name: "Back" },
        { current: 3, parent: 1, name: "Right" },

        { current: 1, parent: 3, name: "Left1" },
        { current: 1, parent: 3, name: "Left2" },
        { current: 1, parent: 3, name: "Left3" },

        { current: 3, parent: 1, name: "Right1" },
        { current: 3, parent: 1, name: "Right2" },
        { current: 3, parent: 1, name: "Right3" },
      ],
      sideSelector: false,
    };

    this.MPASP90H6 = {
      //mountPoint: [new createjs.Point(-32,26), new createjs.Point(-60,-36), new createjs.Point(38,60), new createjs.Point(-10,-110)],
      mountPoint: [
        new createjs.Point(0, 0),
        new createjs.Point(0, 0),
        new createjs.Point(0, 0),
        new createjs.Point(0, 0),
      ],
      //connectorPoint: [new createjs.Point(36,60), new createjs.Point(-26,28), new createjs.Point(28,-26), new createjs.Point(60,36)],
      connectorPoint: [
        new createjs.Point(278, 161),
        new createjs.Point(0, 0),
        new createjs.Point(0, 0),
        new createjs.Point(0, 0),
      ],

      rotationOffsets: [
        new createjs.Point(0, 0),
        new createjs.Point(-60, 60),
        new createjs.Point(16, 42),
        new createjs.Point(0, 0),
      ],

      spriteSheet: new createjs.SpriteSheet({
        images: ["assets/spritesheets/MPASP90-6.png"],

        frames: { width: 372, height: 409 },

        animations: {},
      }),

      spriteCenter: new createjs.Point(23, 0),
      spriteCenterButton: new createjs.Point(180, 120),

      altSkus: false,

      length: 90,

      width: 30,

      legsNeeded: false,

      legsLimit: 0,

      actsAsLegs: false,

      frameOffset: 0,

      childFrameOffset: 0,

      description: '90"L Platform',

      name: '90"L Platform',

      sku: "MPASP90",

      gsku: "29RJ32",

      altSkus: false,

      connectableParts: [
        "MPASP90H6L1",
        "MPASP90H6C",
        "MPASP90H6R2",
        "MPASP90H6R1",
      ],

      usesSlot: 1,

      hasMountSlot: true,

      hasLegSlot: false,

      zOrderMod: [0, 0, 0, 0],

      iZOrderMod: [0, 0, 0, 0],

      forceDrawLast: false,

      forceDrawLastFrame: 0,

      bridgeSpan: true,

      turnPiece: false,

      legs: false,

      rails: false,

      ladder: false,

      spriteSheetButton: new createjs.SpriteSheet({
        images: ["assets/spritesheets/MPASP90-4.png"],

        frames: { width: 373, height: 344 },

        animations: {},
      }),

      isPlatformSelector: true,
      frameHighlights: [
        [
          [-17, 43],
          [74, -9],
          [94, 0],
          [0, 53],
        ],
        [
          [-20, 65],
          [0, 53],
          [92, 107],
          [69, 120],
        ],
        [
          [374, 271],
          [469, 217],
          [488, 232],
          [400, 286],
        ],
        [
          [116, -12],
          [212, 39],
          [183, 54],
          [94, 0],
        ],

        [
          [96, 113],
          [195, 168],
          [169, 183],
          [77, 128],
        ],
        [
          [188, 164],
          [285, 219],
          [256, 234],
          [159, 179],
        ],
        [
          [374, 271],
          [348, 286],
          [256, 231],
          [282, 216],
        ],
        [
          [277, 105],
          [180, 50],
          [206, 35],
          [303, 90],
        ],
        [
          [369, 159],
          [272, 104],
          [298, 89],
          [395, 144],
        ],
        [
          [466, 212],
          [370, 157],
          [395, 142],
          [492, 197],
        ],
      ],
      connectorSelector: 0,
      connectorModify: [
        new createjs.Point(372, 215),
        new createjs.Point(93, -54),
        new createjs.Point(-372, -215),
        new createjs.Point(-93, 54),

        new createjs.Point(0, -108),
        new createjs.Point(-93, -162),
        new createjs.Point(-186, -215),

        new createjs.Point(-186, 0),
        new createjs.Point(-279, -54),
        new createjs.Point(-368, -104),
      ],
      usedCoordinates: [
        { current: 0, parent: 2, name: "Front" },
        { current: 1, parent: 3, name: "Left" },
        { current: 2, parent: 0, name: "Back" },
        { current: 3, parent: 1, name: "Right" },

        { current: 1, parent: 3, name: "Left1" },
        { current: 1, parent: 3, name: "Left2" },
        { current: 1, parent: 3, name: "Left3" },

        { current: 3, parent: 1, name: "Right1" },
        { current: 3, parent: 1, name: "Right2" },
        { current: 3, parent: 1, name: "Right3" },
      ],
      sideSelector: false,
    };

    this.MPASP60H6 = {
      //mountPoint: [new createjs.Point(-32,26), new createjs.Point(-60,-36), new createjs.Point(38,60), new createjs.Point(-10,-110)],
      mountPoint: [
        new createjs.Point(0, 0),
        new createjs.Point(0, 0),
        new createjs.Point(0, 0),
        new createjs.Point(0, 0),
      ],
      //connectorPoint: [new createjs.Point(186,107), new createjs.Point(-26,28), new createjs.Point(28,-26), new createjs.Point(60,36)],
      connectorPoint: [
        new createjs.Point(186, 107),
        new createjs.Point(0, 0),
        new createjs.Point(0, 0),
        new createjs.Point(0, 0),
      ],

      rotationOffsets: [
        new createjs.Point(0, 0),
        new createjs.Point(-60, 60),
        new createjs.Point(16, 42),
        new createjs.Point(0, 0),
      ],

      spriteSheet: new createjs.SpriteSheet({
        images: ["assets/spritesheets/MPASP60-6.png"],

        frames: { width: 281, height: 355 },

        animations: {},
      }),

      spriteCenter: new createjs.Point(25, -1),
      spriteCenterButton: new createjs.Point(130, 90),

      altSkus: false,

      length: 60,

      width: 30,

      legsNeeded: false,

      legsLimit: 0,

      actsAsLegs: false,

      frameOffset: 0,

      childFrameOffset: 0,

      description: '60"L Platform',

      name: '60"L Platform',

      sku: "MPASP60",

      gsku: "29RJ32",

      altSkus: false,

      connectableParts: ["MPASP60H6L1", "MPASP60H6C", "MPASP60H6R2"],

      usesSlot: 1,

      hasMountSlot: true,

      hasLegSlot: false,

      zOrderMod: [0, 0, 0, 0],

      iZOrderMod: [0, 0, 0, 0],

      forceDrawLast: false,

      forceDrawLastFrame: 0,

      bridgeSpan: true,

      turnPiece: false,

      legs: false,

      rails: false,

      ladder: false,

      spriteSheetButton: new createjs.SpriteSheet({
        images: ["assets/spritesheets/MPASP60-4.png"],

        frames: { width: 280, height: 290 },

        animations: {},
      }),

      isPlatformSelector: true,

      frameHighlights: [
        [
          [-17, 43],
          [74, -9],
          [94, 0],
          [0, 53],
        ],
        [
          [-20, 65],
          [0, 53],
          [92, 107],
          [69, 120],
        ],
        [
          [374, 271],
          [469, 217],
          [488, 232],
          [400, 286],
        ],
        [
          [116, -12],
          [212, 39],
          [183, 54],
          [94, 0],
        ],

        [
          [96, 113],
          [195, 168],
          [169, 183],
          [77, 128],
        ],
        [
          [188, 164],
          [285, 219],
          [256, 234],
          [159, 179],
        ],
        [
          [374, 271],
          [348, 286],
          [256, 231],
          [282, 216],
        ],
        [
          [277, 105],
          [180, 50],
          [206, 35],
          [303, 90],
        ],
        [
          [369, 159],
          [272, 104],
          [298, 89],
          [395, 144],
        ],
        [
          [466, 212],
          [370, 157],
          [395, 142],
          [492, 197],
        ],
      ],
      connectorSelector: 0,
      connectorModify: [
        new createjs.Point(372, 215),
        new createjs.Point(93, -54),
        new createjs.Point(-372, -215),
        new createjs.Point(-93, 54),

        new createjs.Point(0, -108),
        new createjs.Point(-93, -162),
        new createjs.Point(-186, -215),

        new createjs.Point(-186, 0),
        new createjs.Point(-279, -54),
        new createjs.Point(-368, -104),
      ],
      usedCoordinates: [
        { current: 0, parent: 2, name: "Front" },
        { current: 1, parent: 3, name: "Left" },
        { current: 2, parent: 0, name: "Back" },
        { current: 3, parent: 1, name: "Right" },

        { current: 1, parent: 3, name: "Left1" },
        { current: 1, parent: 3, name: "Left2" },
        { current: 1, parent: 3, name: "Left3" },

        { current: 3, parent: 1, name: "Right1" },
        { current: 3, parent: 1, name: "Right2" },
        { current: 3, parent: 1, name: "Right3" },
      ],
      sideSelector: false,
    };

    this.MPASP120H5 = {
      //mountPoint: [new createjs.Point(-32,26), new createjs.Point(-60,-36), new createjs.Point(38,60), new createjs.Point(-10,-110)],
      mountPoint: [
        new createjs.Point(0, 0),
        new createjs.Point(0, 0),
        new createjs.Point(0, 0),
        new createjs.Point(0, 0),
      ],
      //connectorPoint: [new createjs.Point(36,60), new createjs.Point(-26,28), new createjs.Point(28,-26), new createjs.Point(60,36)],
      connectorPoint: [
        new createjs.Point(372, 215),
        new createjs.Point(0, 0),
        new createjs.Point(0, 0),
        new createjs.Point(0, 0),
      ],

      rotationOffsets: [
        new createjs.Point(0, 0),
        new createjs.Point(-60, 60),
        new createjs.Point(16, 42),
        new createjs.Point(0, 0),
      ],

      spriteSheet: new createjs.SpriteSheet({
        images: ["assets/spritesheets/MPASP120-5.png"],

        frames: { width: 465, height: 430 },

        animations: {},
      }),

      spriteCenter: new createjs.Point(0, 0),
      spriteCenterButton: new createjs.Point(236, 140),

      altSkus: false,

      length: 120,

      width: 30,

      legsNeeded: false,

      legsLimit: 0,

      actsAsLegs: false,

      frameOffset: 0,

      childFrameOffset: 0,

      description: '120"L Platform',

      name: '120"L Platform',

      sku: "MPASP120",

      gsku: "29RJ32",

      altSkus: false,

      connectableParts: [
        "MPASP120H5R1",
        "MPASP120H5R2",
        "MPASP120H5C",
        "MPASP120H5L2",
        "MPASP120H5L1",
      ],

      usesSlot: 1,

      hasMountSlot: true,

      hasLegSlot: false,

      zOrderMod: [0, 0, 0, 0],

      iZOrderMod: [0, 0, 0, 0],

      forceDrawLast: false,

      forceDrawLastFrame: 0,

      bridgeSpan: true,

      turnPiece: false,

      legs: false,

      rails: false,

      ladder: false,

      isPlatformSelector: true,

      frameHighlights: [
        [
          [-17, 43],
          [74, -9],
          [94, 0],
          [0, 53],
        ],
        [
          [-20, 65],
          [0, 53],
          [92, 107],
          [69, 120],
        ],
        [
          [374, 271],
          [469, 217],
          [488, 232],
          [400, 286],
        ],
        [
          [116, -12],
          [212, 39],
          [183, 54],
          [94, 0],
        ],

        [
          [96, 113],
          [195, 168],
          [169, 183],
          [77, 128],
        ],
        [
          [188, 164],
          [285, 219],
          [256, 234],
          [159, 179],
        ],
        [
          [374, 271],
          [348, 286],
          [256, 231],
          [282, 216],
        ],
        [
          [277, 105],
          [180, 50],
          [206, 35],
          [303, 90],
        ],
        [
          [369, 159],
          [272, 104],
          [298, 89],
          [395, 144],
        ],
        [
          [466, 212],
          [370, 157],
          [395, 142],
          [492, 197],
        ],
      ],
      connectorSelector: 0,
      connectorModify: [
        new createjs.Point(372, 215),
        new createjs.Point(93, -54),
        new createjs.Point(-372, -215),
        new createjs.Point(-93, 54),

        new createjs.Point(0, -108),
        new createjs.Point(-93, -162),
        new createjs.Point(-186, -215),

        new createjs.Point(-186, 0),
        new createjs.Point(-279, -54),
        new createjs.Point(-368, -104),
      ],
      usedCoordinates: [
        { current: 0, parent: 2, name: "Front" },
        { current: 1, parent: 3, name: "Left" },
        { current: 2, parent: 0, name: "Back" },
        { current: 3, parent: 1, name: "Right" },

        { current: 1, parent: 3, name: "Left1" },
        { current: 1, parent: 3, name: "Left2" },
        { current: 1, parent: 3, name: "Left3" },

        { current: 3, parent: 1, name: "Right1" },
        { current: 3, parent: 1, name: "Right2" },
        { current: 3, parent: 1, name: "Right3" },
      ],
      sideSelector: false,
    };

    this.MPASP90H5 = {
      //mountPoint: [new createjs.Point(-32,26), new createjs.Point(-60,-36), new createjs.Point(38,60), new createjs.Point(-10,-110)],
      mountPoint: [
        new createjs.Point(0, 0),
        new createjs.Point(0, 0),
        new createjs.Point(0, 0),
        new createjs.Point(0, 0),
      ],
      //connectorPoint: [new createjs.Point(36,60), new createjs.Point(-26,28), new createjs.Point(28,-26), new createjs.Point(60,36)],
      connectorPoint: [
        new createjs.Point(278, 161),
        new createjs.Point(0, 0),
        new createjs.Point(0, 0),
        new createjs.Point(0, 0),
      ],

      rotationOffsets: [
        new createjs.Point(0, 0),
        new createjs.Point(-60, 60),
        new createjs.Point(16, 42),
        new createjs.Point(0, 0),
      ],

      spriteSheet: new createjs.SpriteSheet({
        images: ["assets/spritesheets/MPASP90-5.png"],

        frames: { width: 374, height: 377 },

        animations: {},
      }),

      spriteCenter: new createjs.Point(0, 0),
      spriteCenterButton: new createjs.Point(180, 120),

      altSkus: false,

      length: 90,

      width: 30,

      legsNeeded: false,

      legsLimit: 0,

      actsAsLegs: false,

      frameOffset: 0,

      childFrameOffset: 0,

      description: '90"L Platform',

      name: '90"L Platform',

      sku: "MPASP90",

      gsku: "29RJ32",

      altSkus: false,

      connectableParts: [
        "MPASP90H5L1",
        "MPASP90H5C",
        "MPASP90H5R2",
        "MPASP90H5R1",
      ],

      usesSlot: 1,

      hasMountSlot: true,

      hasLegSlot: false,

      zOrderMod: [0, 0, 0, 0],

      iZOrderMod: [0, 0, 0, 0],

      forceDrawLast: false,

      forceDrawLastFrame: 0,

      bridgeSpan: true,

      turnPiece: false,

      legs: false,

      rails: false,

      ladder: false,

      spriteSheetButton: new createjs.SpriteSheet({
        images: ["assets/spritesheets/MPASP90-4.png"],

        frames: { width: 373, height: 344 },

        animations: {},
      }),

      isPlatformSelector: true,

      frameHighlights: [
        [
          [-17, 43],
          [74, -9],
          [94, 0],
          [0, 53],
        ],
        [
          [-20, 65],
          [0, 53],
          [92, 107],
          [69, 120],
        ],
        [
          [374, 271],
          [469, 217],
          [488, 232],
          [400, 286],
        ],
        [
          [116, -12],
          [212, 39],
          [183, 54],
          [94, 0],
        ],

        [
          [96, 113],
          [195, 168],
          [169, 183],
          [77, 128],
        ],
        [
          [188, 164],
          [285, 219],
          [256, 234],
          [159, 179],
        ],
        [
          [374, 271],
          [348, 286],
          [256, 231],
          [282, 216],
        ],
        [
          [277, 105],
          [180, 50],
          [206, 35],
          [303, 90],
        ],
        [
          [369, 159],
          [272, 104],
          [298, 89],
          [395, 144],
        ],
        [
          [466, 212],
          [370, 157],
          [395, 142],
          [492, 197],
        ],
      ],
      connectorSelector: 0,
      connectorModify: [
        new createjs.Point(372, 215),
        new createjs.Point(93, -54),
        new createjs.Point(-372, -215),
        new createjs.Point(-93, 54),

        new createjs.Point(0, -108),
        new createjs.Point(-93, -162),
        new createjs.Point(-186, -215),

        new createjs.Point(-186, 0),
        new createjs.Point(-279, -54),
        new createjs.Point(-368, -104),
      ],
      usedCoordinates: [
        { current: 0, parent: 2, name: "Front" },
        { current: 1, parent: 3, name: "Left" },
        { current: 2, parent: 0, name: "Back" },
        { current: 3, parent: 1, name: "Right" },

        { current: 1, parent: 3, name: "Left1" },
        { current: 1, parent: 3, name: "Left2" },
        { current: 1, parent: 3, name: "Left3" },

        { current: 3, parent: 1, name: "Right1" },
        { current: 3, parent: 1, name: "Right2" },
        { current: 3, parent: 1, name: "Right3" },
      ],
      sideSelector: false,
    };

    this.MPASP60H5 = {
      //mountPoint: [new createjs.Point(-32,26), new createjs.Point(-60,-36), new createjs.Point(38,60), new createjs.Point(-10,-110)],
      mountPoint: [
        new createjs.Point(0, 0),
        new createjs.Point(0, 0),
        new createjs.Point(0, 0),
        new createjs.Point(0, 0),
      ],
      //connectorPoint: [new createjs.Point(186,107), new createjs.Point(-26,28), new createjs.Point(28,-26), new createjs.Point(60,36)],
      connectorPoint: [
        new createjs.Point(186, 107),
        new createjs.Point(0, 0),
        new createjs.Point(0, 0),
        new createjs.Point(0, 0),
      ],

      rotationOffsets: [
        new createjs.Point(0, 0),
        new createjs.Point(-60, 60),
        new createjs.Point(16, 42),
        new createjs.Point(0, 0),
      ],

      spriteSheet: new createjs.SpriteSheet({
        images: ["assets/spritesheets/MPASP60-5.png"],

        frames: { width: 281, height: 323 },

        animations: {},
      }),

      spriteCenter: new createjs.Point(8, -5),
      spriteCenterButton: new createjs.Point(130, 90),

      altSkus: false,

      length: 60,

      width: 30,

      legsNeeded: false,

      legsLimit: 0,

      actsAsLegs: false,

      frameOffset: 0,

      childFrameOffset: 0,

      description: '60"L Platform',

      name: '60"L Platform',

      sku: "MPASP60",

      gsku: "29RJ32",

      altSkus: false,

      connectableParts: ["MPASP60H5L1", "MPASP60H5C", "MPASP60H5R2"],

      usesSlot: 1,

      hasMountSlot: true,

      hasLegSlot: false,

      zOrderMod: [0, 0, 0, 0],

      iZOrderMod: [0, 0, 0, 0],

      forceDrawLast: false,

      forceDrawLastFrame: 0,

      bridgeSpan: true,

      turnPiece: false,

      legs: false,

      rails: false,

      ladder: false,

      spriteSheetButton: new createjs.SpriteSheet({
        images: ["assets/spritesheets/MPASP60-4.png"],

        frames: { width: 280, height: 290 },

        animations: {},
      }),

      isPlatformSelector: true,

      frameHighlights: [
        [
          [-17, 43],
          [74, -9],
          [94, 0],
          [0, 53],
        ],
        [
          [-20, 65],
          [0, 53],
          [92, 107],
          [69, 120],
        ],
        [
          [374, 271],
          [469, 217],
          [488, 232],
          [400, 286],
        ],
        [
          [116, -12],
          [212, 39],
          [183, 54],
          [94, 0],
        ],

        [
          [96, 113],
          [195, 168],
          [169, 183],
          [77, 128],
        ],
        [
          [188, 164],
          [285, 219],
          [256, 234],
          [159, 179],
        ],
        [
          [374, 271],
          [348, 286],
          [256, 231],
          [282, 216],
        ],
        [
          [277, 105],
          [180, 50],
          [206, 35],
          [303, 90],
        ],
        [
          [369, 159],
          [272, 104],
          [298, 89],
          [395, 144],
        ],
        [
          [466, 212],
          [370, 157],
          [395, 142],
          [492, 197],
        ],
      ],
      connectorSelector: 0,
      connectorModify: [
        new createjs.Point(372, 215),
        new createjs.Point(93, -54),
        new createjs.Point(-372, -215),
        new createjs.Point(-93, 54),

        new createjs.Point(0, -108),
        new createjs.Point(-93, -162),
        new createjs.Point(-186, -215),

        new createjs.Point(-186, 0),
        new createjs.Point(-279, -54),
        new createjs.Point(-368, -104),
      ],
      usedCoordinates: [
        { current: 0, parent: 2, name: "Front" },
        { current: 1, parent: 3, name: "Left" },
        { current: 2, parent: 0, name: "Back" },
        { current: 3, parent: 1, name: "Right" },

        { current: 1, parent: 3, name: "Left1" },
        { current: 1, parent: 3, name: "Left2" },
        { current: 1, parent: 3, name: "Left3" },

        { current: 3, parent: 1, name: "Right1" },
        { current: 3, parent: 1, name: "Right2" },
        { current: 3, parent: 1, name: "Right3" },
      ],
      sideSelector: false,
    };

    this.MPASP120H4 = {
      //mountPoint: [new createjs.Point(-32,26), new createjs.Point(-60,-36), new createjs.Point(38,60), new createjs.Point(-10,-110)],
      mountPoint: [
        new createjs.Point(-1, 0),
        new createjs.Point(0, 0),
        new createjs.Point(0, 0),
        new createjs.Point(0, 0),
      ],
      //connectorPoint: [new createjs.Point(36,60), new createjs.Point(-26,28), new createjs.Point(28,-26), new createjs.Point(60,36)],
      connectorPoint: [
        new createjs.Point(370, 214),
        new createjs.Point(0, 0),
        new createjs.Point(0, 0),
        new createjs.Point(0, 0),
      ],

      rotationOffsets: [
        new createjs.Point(0, 0),
        new createjs.Point(-60, 60),
        new createjs.Point(16, 42),
        new createjs.Point(0, 0),
      ],

      spriteSheet: new createjs.SpriteSheet({
        images: ["assets/spritesheets/MPASP120-4.png"],

        frames: { width: 466, height: 398 },

        animations: {},
      }),

      spriteCenter: new createjs.Point(-1, 2),
      spriteCenterButton: new createjs.Point(236, 140),

      altSkus: false,

      length: 120,

      width: 30,

      legsNeeded: false,

      legsLimit: 0,

      actsAsLegs: false,

      frameOffset: 0,

      childFrameOffset: 0,

      description: '120"L Platform',

      name: '120"L Platform',

      sku: "MPASP120",

      gsku: "29RJ32",

      altSkus: false,

      connectableParts: [
        "MPASP120H4R1",
        "MPASP120H4R2",
        "MPASP120H4C",
        "MPASP120H4L2",
        "MPASP120H4L1",
      ],

      usesSlot: 1,

      hasMountSlot: true,

      hasLegSlot: false,

      zOrderMod: [0, 0, 0, 0],

      iZOrderMod: [0, 0, 0, 0],

      forceDrawLast: false,

      forceDrawLastFrame: 0,

      bridgeSpan: true,

      turnPiece: false,

      legs: false,

      rails: false,

      ladder: false,

      isPlatformSelector: true,

      frameHighlights: [
        [
          [-17, 43],
          [74, -9],
          [94, 0],
          [0, 53],
        ],
        [
          [-20, 65],
          [0, 53],
          [92, 107],
          [69, 120],
        ],
        [
          [374, 271],
          [469, 217],
          [488, 232],
          [400, 286],
        ],
        [
          [116, -12],
          [212, 39],
          [183, 54],
          [94, 0],
        ],

        [
          [96, 113],
          [195, 168],
          [169, 183],
          [77, 128],
        ],
        [
          [188, 164],
          [285, 219],
          [256, 234],
          [159, 179],
        ],
        [
          [374, 271],
          [348, 286],
          [256, 231],
          [282, 216],
        ],
        [
          [277, 105],
          [180, 50],
          [206, 35],
          [303, 90],
        ],
        [
          [369, 159],
          [272, 104],
          [298, 89],
          [395, 144],
        ],
        [
          [466, 212],
          [370, 157],
          [395, 142],
          [492, 197],
        ],
      ],
      connectorSelector: 0,
      connectorModify: [
        new createjs.Point(372, 215),
        new createjs.Point(93, -54),
        new createjs.Point(-372, -215),
        new createjs.Point(-93, 54),

        new createjs.Point(0, -108),
        new createjs.Point(-93, -162),
        new createjs.Point(-186, -215),

        new createjs.Point(-186, 0),
        new createjs.Point(-279, -54),
        new createjs.Point(-368, -104),
      ],
      usedCoordinates: [
        { current: 0, parent: 2, name: "Front" },
        { current: 1, parent: 3, name: "Left" },
        { current: 2, parent: 0, name: "Back" },
        { current: 3, parent: 1, name: "Right" },

        { current: 1, parent: 3, name: "Left1" },
        { current: 1, parent: 3, name: "Left2" },
        { current: 1, parent: 3, name: "Left3" },

        { current: 3, parent: 1, name: "Right1" },
        { current: 3, parent: 1, name: "Right2" },
        { current: 3, parent: 1, name: "Right3" },
      ],
      sideSelector: false,
    };

    this.MPASP90H4 = {
      //mountPoint: [new createjs.Point(-32,26), new createjs.Point(-60,-36), new createjs.Point(38,60), new createjs.Point(-10,-110)],
      mountPoint: [
        new createjs.Point(0, 0),
        new createjs.Point(0, 0),
        new createjs.Point(0, 0),
        new createjs.Point(0, 0),
      ],
      //connectorPoint: [new createjs.Point(36,60), new createjs.Point(-26,28), new createjs.Point(28,-26), new createjs.Point(60,36)],
      connectorPoint: [
        new createjs.Point(278, 161),
        new createjs.Point(0, 0),
        new createjs.Point(0, 0),
        new createjs.Point(0, 0),
      ],

      rotationOffsets: [
        new createjs.Point(0, 0),
        new createjs.Point(-60, 60),
        new createjs.Point(16, 42),
        new createjs.Point(0, 0),
      ],

      spriteSheet: new createjs.SpriteSheet({
        images: ["assets/spritesheets/MPASP90-4.png"],

        frames: { width: 373, height: 344 },

        animations: {},
      }),

      spriteCenter: new createjs.Point(0, 0),
      spriteCenterButton: new createjs.Point(180, 120),

      altSkus: false,

      length: 90,

      width: 30,

      legsNeeded: false,

      legsLimit: 0,

      actsAsLegs: false,

      frameOffset: 0,

      childFrameOffset: 0,

      description: '90"L Platform',

      name: '90"L Platform',

      sku: "MPASP90",

      gsku: "29RJ32",

      altSkus: false,

      connectableParts: [
        "MPASP90H4L1",
        "MPASP90H4C",
        "MPASP90H4R2",
        "MPASP90H4R1",
      ],

      usesSlot: 1,

      hasMountSlot: true,

      hasLegSlot: false,

      zOrderMod: [0, 0, 0, 0],

      iZOrderMod: [0, 0, 0, 0],

      forceDrawLast: false,

      forceDrawLastFrame: 0,

      bridgeSpan: true,

      turnPiece: false,

      legs: false,

      rails: false,

      ladder: false,

      spriteSheetButton: new createjs.SpriteSheet({
        images: ["assets/spritesheets/MPASP90-4.png"],

        frames: { width: 373, height: 344 },

        animations: {},
      }),

      isPlatformSelector: true,

      frameHighlights: [
        [
          [-17, 43],
          [74, -9],
          [94, 0],
          [0, 53],
        ],
        [
          [-20, 65],
          [0, 53],
          [92, 107],
          [69, 120],
        ],
        [
          [374, 271],
          [469, 217],
          [488, 232],
          [400, 286],
        ],
        [
          [116, -12],
          [212, 39],
          [183, 54],
          [94, 0],
        ],

        [
          [96, 113],
          [195, 168],
          [169, 183],
          [77, 128],
        ],
        [
          [188, 164],
          [285, 219],
          [256, 234],
          [159, 179],
        ],
        [
          [374, 271],
          [348, 286],
          [256, 231],
          [282, 216],
        ],
        [
          [277, 105],
          [180, 50],
          [206, 35],
          [303, 90],
        ],
        [
          [369, 159],
          [272, 104],
          [298, 89],
          [395, 144],
        ],
        [
          [466, 212],
          [370, 157],
          [395, 142],
          [492, 197],
        ],
      ],
      connectorSelector: 0,
      connectorModify: [
        new createjs.Point(372, 215),
        new createjs.Point(93, -54),
        new createjs.Point(-372, -215),
        new createjs.Point(-93, 54),

        new createjs.Point(0, -108),
        new createjs.Point(-93, -162),
        new createjs.Point(-186, -215),

        new createjs.Point(-186, 0),
        new createjs.Point(-279, -54),
        new createjs.Point(-368, -104),
      ],
      usedCoordinates: [
        { current: 0, parent: 2, name: "Front" },
        { current: 1, parent: 3, name: "Left" },
        { current: 2, parent: 0, name: "Back" },
        { current: 3, parent: 1, name: "Right" },

        { current: 1, parent: 3, name: "Left1" },
        { current: 1, parent: 3, name: "Left2" },
        { current: 1, parent: 3, name: "Left3" },

        { current: 3, parent: 1, name: "Right1" },
        { current: 3, parent: 1, name: "Right2" },
        { current: 3, parent: 1, name: "Right3" },
      ],
      sideSelector: false,
    };

    this.MPASP60H4 = {
      //mountPoint: [new createjs.Point(-32,26), new createjs.Point(-60,-36), new createjs.Point(38,60), new createjs.Point(-10,-110)],
      mountPoint: [
        new createjs.Point(0, 0),
        new createjs.Point(0, 0),
        new createjs.Point(0, 0),
        new createjs.Point(0, 0),
      ],
      //connectorPoint: [new createjs.Point(186,107), new createjs.Point(-26,28), new createjs.Point(28,-26), new createjs.Point(60,36)],
      connectorPoint: [
        new createjs.Point(186, 107),
        new createjs.Point(0, 0),
        new createjs.Point(0, 0),
        new createjs.Point(0, 0),
      ],

      rotationOffsets: [
        new createjs.Point(0, 0),
        new createjs.Point(-60, 60),
        new createjs.Point(16, 42),
        new createjs.Point(0, 0),
      ],

      spriteSheet: new createjs.SpriteSheet({
        images: ["assets/spritesheets/MPASP60-4.png"],

        frames: { width: 280, height: 290 },

        animations: {},
      }),

      spriteCenter: new createjs.Point(0, 0),
      spriteCenterButton: new createjs.Point(130, 90),

      altSkus: false,

      length: 60,

      width: 30,

      legsNeeded: false,

      legsLimit: 0,

      actsAsLegs: false,

      frameOffset: 0,

      childFrameOffset: 0,

      description: '60"L Platform',

      name: '60"L Platform',

      sku: "MPASP60",

      gsku: "29RJ32",

      altSkus: false,

      connectableParts: ["MPASP60H4L1", "MPASP60H4C", "MPASP60H4R2"],

      usesSlot: 1,

      hasMountSlot: true,

      hasLegSlot: false,

      zOrderMod: [0, 0, 0, 0],

      iZOrderMod: [0, 0, 0, 0],

      forceDrawLast: false,

      forceDrawLastFrame: 0,

      bridgeSpan: true,

      turnPiece: false,

      legs: false,

      rails: false,

      ladder: false,

      spriteSheetButton: new createjs.SpriteSheet({
        images: ["assets/spritesheets/MPASP60-4.png"],

        frames: { width: 280, height: 290 },

        animations: {},
      }),

      isPlatformSelector: true,

      frameHighlights: [
        [
          [-17, 43],
          [74, -9],
          [94, 0],
          [0, 53],
        ],
        [
          [-20, 65],
          [0, 53],
          [92, 107],
          [69, 120],
        ],
        [
          [374, 271],
          [469, 217],
          [488, 232],
          [400, 286],
        ],
        [
          [116, -12],
          [212, 39],
          [183, 54],
          [94, 0],
        ],

        [
          [96, 113],
          [195, 168],
          [169, 183],
          [77, 128],
        ],
        [
          [188, 164],
          [285, 219],
          [256, 234],
          [159, 179],
        ],
        [
          [374, 271],
          [348, 286],
          [256, 231],
          [282, 216],
        ],
        [
          [277, 105],
          [180, 50],
          [206, 35],
          [303, 90],
        ],
        [
          [369, 159],
          [272, 104],
          [298, 89],
          [395, 144],
        ],
        [
          [466, 212],
          [370, 157],
          [395, 142],
          [492, 197],
        ],
      ],
      connectorSelector: 0,
      connectorModify: [
        new createjs.Point(372, 215),
        new createjs.Point(93, -54),
        new createjs.Point(-372, -215),
        new createjs.Point(-93, 54),

        new createjs.Point(0, -108),
        new createjs.Point(-93, -162),
        new createjs.Point(-186, -215),

        new createjs.Point(-186, 0),
        new createjs.Point(-279, -54),
        new createjs.Point(-368, -104),
      ],
      usedCoordinates: [
        { current: 0, parent: 2, name: "Front" },
        { current: 1, parent: 3, name: "Left" },
        { current: 2, parent: 0, name: "Back" },
        { current: 3, parent: 1, name: "Right" },

        { current: 1, parent: 3, name: "Left1" },
        { current: 1, parent: 3, name: "Left2" },
        { current: 1, parent: 3, name: "Left3" },

        { current: 3, parent: 1, name: "Right1" },
        { current: 3, parent: 1, name: "Right2" },
        { current: 3, parent: 1, name: "Right3" },
      ],
      sideSelector: false,
    };

    this.MPASP120H3 = {
      //mountPoint: [new createjs.Point(-32,26), new createjs.Point(-60,-36), new createjs.Point(38,60), new createjs.Point(-10,-110)],
      mountPoint: [
        new createjs.Point(-1, 0),
        new createjs.Point(0, 0),
        new createjs.Point(0, 0),
        new createjs.Point(0, 0),
      ],
      //connectorPoint: [new createjs.Point(36,60), new createjs.Point(-26,28), new createjs.Point(28,-26), new createjs.Point(60,36)],
      connectorPoint: [
        new createjs.Point(369, 212),
        new createjs.Point(0, 0),
        new createjs.Point(0, 0),
        new createjs.Point(0, 0),
      ],

      rotationOffsets: [
        new createjs.Point(0, 0),
        new createjs.Point(-60, 60),
        new createjs.Point(16, 42),
        new createjs.Point(0, 0),
      ],

      spriteSheet: new createjs.SpriteSheet({
        images: ["assets/spritesheets/MPASP120-3.png"],

        frames: { width: 466, height: 366 },

        animations: {},
      }),

      spriteCenter: new createjs.Point(70, 81),
      spriteCenterButton: new createjs.Point(236, 140),

      altSkus: false,

      length: 120,

      width: 30,

      legsNeeded: false,

      legsLimit: 0,

      actsAsLegs: false,

      frameOffset: 0,

      childFrameOffset: 0,

      description: '120"L Platform',

      name: '120"L Platform',

      sku: "MPASP120",

      gsku: "29RJ32",

      altSkus: false,

      connectableParts: [
        "MPASP120H3R1",
        "MPASP120H3R2",
        "MPASP120H3C",
        "MPASP120H3L2",
        "MPASP120H3L1",
      ],

      usesSlot: 1,

      hasMountSlot: true,

      hasLegSlot: false,

      zOrderMod: [0, 0, 0, 0],

      iZOrderMod: [0, 0, 0, 0],

      forceDrawLast: false,

      forceDrawLastFrame: 0,

      bridgeSpan: true,

      turnPiece: false,

      legs: false,

      rails: false,

      ladder: false,

      isPlatformSelector: true,

      frameHighlights: [
        [
          [-17, 43],
          [74, -9],
          [94, 0],
          [0, 53],
        ],
        [
          [-20, 65],
          [0, 53],
          [92, 107],
          [69, 120],
        ],
        [
          [374, 271],
          [469, 217],
          [488, 232],
          [400, 286],
        ],
        [
          [116, -12],
          [212, 39],
          [183, 54],
          [94, 0],
        ],

        [
          [96, 113],
          [195, 168],
          [169, 183],
          [77, 128],
        ],
        [
          [188, 164],
          [285, 219],
          [256, 234],
          [159, 179],
        ],
        [
          [374, 271],
          [348, 286],
          [256, 231],
          [282, 216],
        ],
        [
          [277, 105],
          [180, 50],
          [206, 35],
          [303, 90],
        ],
        [
          [369, 159],
          [272, 104],
          [298, 89],
          [395, 144],
        ],
        [
          [466, 212],
          [370, 157],
          [395, 142],
          [492, 197],
        ],
      ],
      connectorSelector: 0,
      connectorModify: [
        new createjs.Point(372, 215),
        new createjs.Point(93, -54),
        new createjs.Point(-372, -215),
        new createjs.Point(-93, 54),

        new createjs.Point(0, -108),
        new createjs.Point(-93, -162),
        new createjs.Point(-186, -215),

        new createjs.Point(-186, 0),
        new createjs.Point(-279, -54),
        new createjs.Point(-368, -104),
      ],
      usedCoordinates: [
        { current: 0, parent: 2, name: "Front" },
        { current: 1, parent: 3, name: "Left" },
        { current: 2, parent: 0, name: "Back" },
        { current: 3, parent: 1, name: "Right" },

        { current: 1, parent: 3, name: "Left1" },
        { current: 1, parent: 3, name: "Left2" },
        { current: 1, parent: 3, name: "Left3" },

        { current: 3, parent: 1, name: "Right1" },
        { current: 3, parent: 1, name: "Right2" },
        { current: 3, parent: 1, name: "Right3" },
      ],
      sideSelector: false,
    };

    this.MPASP90H3 = {
      //mountPoint: [new createjs.Point(-32,26), new createjs.Point(-60,-36), new createjs.Point(38,60), new createjs.Point(-10,-110)],
      mountPoint: [
        new createjs.Point(-1, 0),
        new createjs.Point(0, 0),
        new createjs.Point(0, 0),
        new createjs.Point(0, 0),
      ],
      //connectorPoint: [new createjs.Point(36,60), new createjs.Point(-26,28), new createjs.Point(28,-26), new createjs.Point(60,36)],
      connectorPoint: [
        new createjs.Point(278, 159),
        new createjs.Point(0, 0),
        new createjs.Point(0, 0),
        new createjs.Point(0, 0),
      ],

      rotationOffsets: [
        new createjs.Point(0, 0),
        new createjs.Point(-60, 60),
        new createjs.Point(16, 42),
        new createjs.Point(0, 0),
      ],

      spriteSheet: new createjs.SpriteSheet({
        images: ["assets/spritesheets/MPASP90-3.png"],

        frames: { width: 372, height: 312 },

        animations: {},
      }),

      spriteCenter: new createjs.Point(70, 82),
      spriteCenterButton: new createjs.Point(180, 120),

      altSkus: false,

      length: 90,

      width: 30,

      legsNeeded: false,

      legsLimit: 0,

      actsAsLegs: false,

      frameOffset: 0,

      childFrameOffset: 0,

      description: '90"L Platform',

      name: '90"L Platform',

      sku: "MPASP90",

      gsku: "29RJ32",

      altSkus: false,

      connectableParts: [
        "MPASP90H3L1",
        "MPASP90H3C",
        "MPASP90H3R2",
        "MPASP90H3R1",
      ],

      usesSlot: 1,

      hasMountSlot: true,

      hasLegSlot: false,

      zOrderMod: [0, 0, 0, 0],

      iZOrderMod: [0, 0, 0, 0],

      forceDrawLast: false,

      forceDrawLastFrame: 0,

      bridgeSpan: true,

      turnPiece: false,

      legs: false,

      rails: false,

      ladder: false,

      spriteSheetButton: new createjs.SpriteSheet({
        images: ["assets/spritesheets/MPASP90-4.png"],

        frames: { width: 373, height: 344 },

        animations: {},
      }),

      isPlatformSelector: true,
      frameHighlights: [
        [
          [-17, 43],
          [74, -9],
          [94, 0],
          [0, 53],
        ],
        [
          [-20, 65],
          [0, 53],
          [92, 107],
          [69, 120],
        ],
        [
          [374, 271],
          [469, 217],
          [488, 232],
          [400, 286],
        ],
        [
          [116, -12],
          [212, 39],
          [183, 54],
          [94, 0],
        ],

        [
          [96, 113],
          [195, 168],
          [169, 183],
          [77, 128],
        ],
        [
          [188, 164],
          [285, 219],
          [256, 234],
          [159, 179],
        ],
        [
          [374, 271],
          [348, 286],
          [256, 231],
          [282, 216],
        ],
        [
          [277, 105],
          [180, 50],
          [206, 35],
          [303, 90],
        ],
        [
          [369, 159],
          [272, 104],
          [298, 89],
          [395, 144],
        ],
        [
          [466, 212],
          [370, 157],
          [395, 142],
          [492, 197],
        ],
      ],
      connectorSelector: 0,
      connectorModify: [
        new createjs.Point(372, 215),
        new createjs.Point(93, -54),
        new createjs.Point(-372, -215),
        new createjs.Point(-93, 54),

        new createjs.Point(0, -108),
        new createjs.Point(-93, -162),
        new createjs.Point(-186, -215),

        new createjs.Point(-186, 0),
        new createjs.Point(-279, -54),
        new createjs.Point(-368, -104),
      ],
      usedCoordinates: [
        { current: 0, parent: 2, name: "Front" },
        { current: 1, parent: 3, name: "Left" },
        { current: 2, parent: 0, name: "Back" },
        { current: 3, parent: 1, name: "Right" },

        { current: 1, parent: 3, name: "Left1" },
        { current: 1, parent: 3, name: "Left2" },
        { current: 1, parent: 3, name: "Left3" },

        { current: 3, parent: 1, name: "Right1" },
        { current: 3, parent: 1, name: "Right2" },
        { current: 3, parent: 1, name: "Right3" },
      ],
      sideSelector: false,
    };

    this.MPASP60H3 = {
      //mountPoint: [new createjs.Point(-32,26), new createjs.Point(-60,-36), new createjs.Point(38,60), new createjs.Point(-10,-110)],
      mountPoint: [
        new createjs.Point(0, 0),
        new createjs.Point(0, 0),
        new createjs.Point(0, 0),
        new createjs.Point(0, 0),
      ],
      //connectorPoint: [new createjs.Point(36,60), new createjs.Point(-26,28), new createjs.Point(28,-26), new createjs.Point(60,36)],
      connectorPoint: [
        new createjs.Point(179, 102),
        new createjs.Point(0, 0),
        new createjs.Point(0, 0),
        new createjs.Point(0, 0),
      ],

      rotationOffsets: [
        new createjs.Point(0, 0),
        new createjs.Point(-60, 60),
        new createjs.Point(16, 42),
        new createjs.Point(0, 0),
      ],

      spriteSheet: new createjs.SpriteSheet({
        images: ["assets/spritesheets/MPASP60-3.png"],

        frames: { width: 280, height: 258 },

        animations: {},
      }),

      spriteCenter: new createjs.Point(75, 78),
      spriteCenterButton: new createjs.Point(130, 90),

      altSkus: false,

      length: 60,

      width: 30,

      legsNeeded: false,

      legsLimit: 0,

      actsAsLegs: false,

      frameOffset: 0,

      childFrameOffset: 0,

      description: '60"L Platform',

      name: '60"L Platform',

      sku: "MPASP60",

      gsku: "29RJ32",

      altSkus: false,

      connectableParts: ["MPASP60H3L1", "MPASP60H3C", "MPASP60H3R2"],

      usesSlot: 1,

      hasMountSlot: true,

      hasLegSlot: false,

      zOrderMod: [0, 0, 0, 0],

      iZOrderMod: [0, 0, 0, 0],

      forceDrawLast: false,

      forceDrawLastFrame: 0,

      bridgeSpan: true,

      turnPiece: false,

      legs: false,

      rails: false,

      ladder: false,

      spriteSheetButton: new createjs.SpriteSheet({
        images: ["assets/spritesheets/MPASP60-4.png"],

        frames: { width: 280, height: 290 },

        animations: {},
      }),

      isPlatformSelector: true,

      frameHighlights: [
        [
          [-17, 43],
          [74, -9],
          [94, 0],
          [0, 53],
        ],
        [
          [-20, 65],
          [0, 53],
          [92, 107],
          [69, 120],
        ],
        [
          [374, 271],
          [469, 217],
          [488, 232],
          [400, 286],
        ],
        [
          [116, -12],
          [212, 39],
          [183, 54],
          [94, 0],
        ],

        [
          [96, 113],
          [195, 168],
          [169, 183],
          [77, 128],
        ],
        [
          [188, 164],
          [285, 219],
          [256, 234],
          [159, 179],
        ],
        [
          [374, 271],
          [348, 286],
          [256, 231],
          [282, 216],
        ],
        [
          [277, 105],
          [180, 50],
          [206, 35],
          [303, 90],
        ],
        [
          [369, 159],
          [272, 104],
          [298, 89],
          [395, 144],
        ],
        [
          [466, 212],
          [370, 157],
          [395, 142],
          [492, 197],
        ],
      ],
      connectorSelector: 0,
      connectorModify: [
        new createjs.Point(372, 215),
        new createjs.Point(93, -54),
        new createjs.Point(-372, -215),
        new createjs.Point(-93, 54),

        new createjs.Point(0, -108),
        new createjs.Point(-93, -162),
        new createjs.Point(-186, -215),

        new createjs.Point(-186, 0),
        new createjs.Point(-279, -54),
        new createjs.Point(-368, -104),
      ],
      usedCoordinates: [
        { current: 0, parent: 2, name: "Front" },
        { current: 1, parent: 3, name: "Left" },
        { current: 2, parent: 0, name: "Back" },
        { current: 3, parent: 1, name: "Right" },

        { current: 1, parent: 3, name: "Left1" },
        { current: 1, parent: 3, name: "Left2" },
        { current: 1, parent: 3, name: "Left3" },

        { current: 3, parent: 1, name: "Right1" },
        { current: 3, parent: 1, name: "Right2" },
        { current: 3, parent: 1, name: "Right3" },
      ],
      sideSelector: false,
    };

    this.MPASP120H2 = {
      //mountPoint: [new createjs.Point(-32,26), new createjs.Point(-60,-36), new createjs.Point(38,60), new createjs.Point(-10,-110)],
      mountPoint: [
        new createjs.Point(-1, 0),
        new createjs.Point(0, 0),
        new createjs.Point(0, 0),
        new createjs.Point(0, 0),
      ],
      //connectorPoint: [new createjs.Point(36,60), new createjs.Point(-26,28), new createjs.Point(28,-26), new createjs.Point(60,36)],
      connectorPoint: [
        new createjs.Point(372, 215),
        new createjs.Point(0, 0),
        new createjs.Point(0, 0),
        new createjs.Point(0, 0),
      ],

      rotationOffsets: [
        new createjs.Point(0, 0),
        new createjs.Point(-60, 60),
        new createjs.Point(16, 42),
        new createjs.Point(0, 0),
      ],

      spriteSheet: new createjs.SpriteSheet({
        images: ["assets/spritesheets/MPASP120-2.png"],

        frames: { width: 466, height: 333 },

        animations: {},
      }),

      spriteCenter: new createjs.Point(-3, 5),
      spriteCenterButton: new createjs.Point(236, 140),

      altSkus: false,

      length: 120,

      width: 30,

      legsNeeded: false,

      legsLimit: 0,

      actsAsLegs: false,

      frameOffset: 0,

      childFrameOffset: 0,

      description: '120"L Platform',

      name: '120"L Platform',

      sku: "MPASP120",

      gsku: "29RJ32",

      altSkus: false,

      connectableParts: [
        "MPASP120H2R1",
        "MPASP120H2R2",
        "MPASP120H2C",
        "MPASP120H2L2",
        "MPASP120H2L1",
      ],

      usesSlot: 1,

      hasMountSlot: true,

      hasLegSlot: false,

      zOrderMod: [0, 0, 0, 0],

      iZOrderMod: [0, 0, 0, 0],

      forceDrawLast: false,

      forceDrawLastFrame: 0,

      bridgeSpan: true,

      turnPiece: false,

      legs: false,

      rails: false,

      ladder: false,

      isPlatformSelector: true,

      frameHighlights: [
        [
          [-17, 43],
          [74, -9],
          [94, 0],
          [0, 53],
        ],
        [
          [-20, 65],
          [0, 53],
          [92, 107],
          [69, 120],
        ],
        [
          [374, 271],
          [469, 217],
          [488, 232],
          [400, 286],
        ],
        [
          [116, -12],
          [212, 39],
          [183, 54],
          [94, 0],
        ],

        [
          [96, 113],
          [195, 168],
          [169, 183],
          [77, 128],
        ],
        [
          [188, 164],
          [285, 219],
          [256, 234],
          [159, 179],
        ],
        [
          [374, 271],
          [348, 286],
          [256, 231],
          [282, 216],
        ],
        [
          [277, 105],
          [180, 50],
          [206, 35],
          [303, 90],
        ],
        [
          [369, 159],
          [272, 104],
          [298, 89],
          [395, 144],
        ],
        [
          [466, 212],
          [370, 157],
          [395, 142],
          [492, 197],
        ],
      ],
      connectorSelector: 0,
      connectorModify: [
        new createjs.Point(372, 215),
        new createjs.Point(93, -54),
        new createjs.Point(-372, -215),
        new createjs.Point(-93, 54),

        new createjs.Point(0, -108),
        new createjs.Point(-93, -162),
        new createjs.Point(-186, -215),

        new createjs.Point(-186, 0),
        new createjs.Point(-279, -54),
        new createjs.Point(-368, -104),
      ],
      usedCoordinates: [
        { current: 0, parent: 2, name: "Front" },
        { current: 1, parent: 3, name: "Left" },
        { current: 2, parent: 0, name: "Back" },
        { current: 3, parent: 1, name: "Right" },

        { current: 1, parent: 3, name: "Left1" },
        { current: 1, parent: 3, name: "Left2" },
        { current: 1, parent: 3, name: "Left3" },

        { current: 3, parent: 1, name: "Right1" },
        { current: 3, parent: 1, name: "Right2" },
        { current: 3, parent: 1, name: "Right3" },
      ],
      sideSelector: false,
    };

    this.MPASP90H2 = {
      //mountPoint: [new createjs.Point(-32,26), new createjs.Point(-60,-36), new createjs.Point(38,60), new createjs.Point(-10,-110)],
      mountPoint: [
        new createjs.Point(-1, 0),
        new createjs.Point(0, 0),
        new createjs.Point(0, 0),
        new createjs.Point(0, 0),
      ],
      //connectorPoint: [new createjs.Point(36,60), new createjs.Point(-26,28), new createjs.Point(28,-26), new createjs.Point(60,36)],
      connectorPoint: [
        new createjs.Point(278, 159),
        new createjs.Point(0, 0),
        new createjs.Point(0, 0),
        new createjs.Point(0, 0),
      ],

      rotationOffsets: [
        new createjs.Point(0, 0),
        new createjs.Point(-60, 60),
        new createjs.Point(16, 42),
        new createjs.Point(0, 0),
      ],

      spriteSheet: new createjs.SpriteSheet({
        images: ["assets/spritesheets/MPASP90-2.png"],

        frames: { width: 373, height: 280 },

        animations: {},
      }),

      spriteCenter: new createjs.Point(-3, 8),
      spriteCenterButton: new createjs.Point(180, 120),

      altSkus: false,

      length: 90,

      width: 30,

      legsNeeded: false,

      legsLimit: 0,

      actsAsLegs: false,

      frameOffset: 0,

      childFrameOffset: 0,

      description: '90"L Platform',

      name: '90"L Platform',

      sku: "MPASP90",

      gsku: "29RJ32",

      altSkus: false,

      connectableParts: [
        "MPASP90H2L1",
        "MPASP90H2C",
        "MPASP90H2R2",
        "MPASP90H2R1",
      ],

      usesSlot: 1,

      hasMountSlot: true,

      hasLegSlot: false,

      zOrderMod: [0, 0, 0, 0],

      iZOrderMod: [0, 0, 0, 0],

      forceDrawLast: false,

      forceDrawLastFrame: 0,

      bridgeSpan: true,

      turnPiece: false,

      legs: false,

      rails: false,

      ladder: false,

      spriteSheetButton: new createjs.SpriteSheet({
        images: ["assets/spritesheets/MPASP90-4.png"],

        frames: { width: 373, height: 344 },

        animations: {},
      }),

      isPlatformSelector: true,

      frameHighlights: [
        [
          [-17, 43],
          [74, -9],
          [94, 0],
          [0, 53],
        ],
        [
          [-20, 65],
          [0, 53],
          [92, 107],
          [69, 120],
        ],
        [
          [374, 271],
          [469, 217],
          [488, 232],
          [400, 286],
        ],
        [
          [116, -12],
          [212, 39],
          [183, 54],
          [94, 0],
        ],

        [
          [96, 113],
          [195, 168],
          [169, 183],
          [77, 128],
        ],
        [
          [188, 164],
          [285, 219],
          [256, 234],
          [159, 179],
        ],
        [
          [374, 271],
          [348, 286],
          [256, 231],
          [282, 216],
        ],
        [
          [277, 105],
          [180, 50],
          [206, 35],
          [303, 90],
        ],
        [
          [369, 159],
          [272, 104],
          [298, 89],
          [395, 144],
        ],
        [
          [466, 212],
          [370, 157],
          [395, 142],
          [492, 197],
        ],
      ],
      connectorSelector: 0,
      connectorModify: [
        new createjs.Point(372, 215),
        new createjs.Point(93, -54),
        new createjs.Point(-372, -215),
        new createjs.Point(-93, 54),

        new createjs.Point(0, -108),
        new createjs.Point(-93, -162),
        new createjs.Point(-186, -215),

        new createjs.Point(-186, 0),
        new createjs.Point(-279, -54),
        new createjs.Point(-368, -104),
      ],
      usedCoordinates: [
        { current: 0, parent: 2, name: "Front" },
        { current: 1, parent: 3, name: "Left" },
        { current: 2, parent: 0, name: "Back" },
        { current: 3, parent: 1, name: "Right" },

        { current: 1, parent: 3, name: "Left1" },
        { current: 1, parent: 3, name: "Left2" },
        { current: 1, parent: 3, name: "Left3" },

        { current: 3, parent: 1, name: "Right1" },
        { current: 3, parent: 1, name: "Right2" },
        { current: 3, parent: 1, name: "Right3" },
      ],
      sideSelector: false,
    };

    this.MPASP60H2 = {
      //mountPoint: [new createjs.Point(-32,26), new createjs.Point(-60,-36), new createjs.Point(38,60), new createjs.Point(-10,-110)],
      mountPoint: [
        new createjs.Point(0, 0),
        new createjs.Point(0, 0),
        new createjs.Point(0, 0),
        new createjs.Point(0, 0),
      ],
      //connectorPoint: [new createjs.Point(179,102), new createjs.Point(-26,28), new createjs.Point(28,-26), new createjs.Point(60,36)],
      connectorPoint: [
        new createjs.Point(186, 108),
        new createjs.Point(0, 0),
        new createjs.Point(0, 0),
        new createjs.Point(0, 0),
      ],

      rotationOffsets: [
        new createjs.Point(0, 0),
        new createjs.Point(-60, 60),
        new createjs.Point(16, 42),
        new createjs.Point(0, 0),
      ],

      spriteSheet: new createjs.SpriteSheet({
        images: ["assets/spritesheets/MPASP60-2.png"],

        frames: { width: 280, height: 226 },

        animations: {},
      }),

      spriteCenter: new createjs.Point(-3, 5),
      spriteCenterButton: new createjs.Point(130, 90),

      altSkus: false,

      length: 60,

      width: 30,

      legsNeeded: false,

      legsLimit: 0,

      actsAsLegs: false,

      frameOffset: 0,

      childFrameOffset: 0,

      description: '60"L Platform',

      name: '60"L Platform',

      sku: "MPASP60",

      gsku: "29RJ32",

      altSkus: false,

      connectableParts: ["MPASP60H2L1", "MPASP60H2C", "MPASP60H2R2"],

      usesSlot: 1,

      hasMountSlot: true,

      hasLegSlot: false,

      zOrderMod: [0, 0, 0, 0],

      iZOrderMod: [0, 0, 0, 0],

      forceDrawLast: false,

      forceDrawLastFrame: 0,

      bridgeSpan: true,

      turnPiece: false,

      legs: false,

      rails: false,

      ladder: false,

      spriteSheetButton: new createjs.SpriteSheet({
        images: ["assets/spritesheets/MPASP60-4.png"],

        frames: { width: 280, height: 290 },

        animations: {},
      }),

      isPlatformSelector: true,

      frameHighlights: [
        [
          [-17, 43],
          [74, -9],
          [94, 0],
          [0, 53],
        ],
        [
          [-20, 65],
          [0, 53],
          [92, 107],
          [69, 120],
        ],
        [
          [374, 271],
          [469, 217],
          [488, 232],
          [400, 286],
        ],
        [
          [116, -12],
          [212, 39],
          [183, 54],
          [94, 0],
        ],

        [
          [96, 113],
          [195, 168],
          [169, 183],
          [77, 128],
        ],
        [
          [188, 164],
          [285, 219],
          [256, 234],
          [159, 179],
        ],
        [
          [374, 271],
          [348, 286],
          [256, 231],
          [282, 216],
        ],
        [
          [277, 105],
          [180, 50],
          [206, 35],
          [303, 90],
        ],
        [
          [369, 159],
          [272, 104],
          [298, 89],
          [395, 144],
        ],
        [
          [466, 212],
          [370, 157],
          [395, 142],
          [492, 197],
        ],
      ],
      connectorSelector: 0,
      connectorModify: [
        new createjs.Point(372, 215),
        new createjs.Point(93, -54),
        new createjs.Point(-372, -215),
        new createjs.Point(-93, 54),

        new createjs.Point(0, -108),
        new createjs.Point(-93, -162),
        new createjs.Point(-186, -215),

        new createjs.Point(-186, 0),
        new createjs.Point(-279, -54),
        new createjs.Point(-368, -104),
      ],
      usedCoordinates: [
        { current: 0, parent: 2, name: "Front" },
        { current: 1, parent: 3, name: "Left" },
        { current: 2, parent: 0, name: "Back" },
        { current: 3, parent: 1, name: "Right" },

        { current: 1, parent: 3, name: "Left1" },
        { current: 1, parent: 3, name: "Left2" },
        { current: 1, parent: 3, name: "Left3" },

        { current: 3, parent: 1, name: "Right1" },
        { current: 3, parent: 1, name: "Right2" },
        { current: 3, parent: 1, name: "Right3" },
      ],
      sideSelector: false,
    };

    this.spriteSheetImg = "assets/spritesheets/MPASP120-9.png";
    this.spriteSheetFrame = [[467, 0, 467, 559]];
    this.spritPointsLeft = { x: 102, y: -31 };
    this.spritPointsLeft1 = { x: 8, y: 23 };
    this.spritPointsRight = { x: -86, y: 78 };
    this.spritPointsRight1 = { x: -180, y: 133 };
  }
  main() {
    let data = {};
    switch (this.ladderStep) {
      case "120_9":
        data = this.MPASP120H9;
        this.spriteSheetImg = "assets/spritesheets/MPASP120-9.png";
        this.spriteSheetFrame = [[467, 0, 467, 559]];
        this.spritPointsLeft = { x: 102, y: -31 };
        this.spritPointsLeft1 = { x: 8, y: 23 };
        this.spritPointsRight = { x: -86, y: 78 };
        this.spritPointsRight1 = { x: -180, y: 133 };
        this.spritPointsMainLeft = { x: 382, y: 130 };
        this.spritPointsRightLeft = { x: 104, y: 130 };
        this.spritPointsRight1Left = { x: 202, y: 187 };
        this.spritPointsLeft1Left = { x: 300 - 15, y: 244 - 10 };
        this.spritPointsLeftLeft = { x: 398 - 15, y: 301 - 10 };
        this.spritPointsMainRight = { x: 102, y: 292 };
        this.spritPointsRightRight = { x: 104, y: 130 };
        this.spritPointsRight1Right = { x: 202, y: 187 };
        this.spritPointsLeft1Right = { x: 300 - 15, y: 244 - 10 };
        this.spritPointsLeftRight = { x: 398 - 15, y: 301 - 10 };
        this.spritPointsMainBack = { x: 382, y: 130 };
        this.spritPointsRight1Back = { x: 380, y: 130 };
        this.spritPointsRightBack = { x: 287, y: 183 };
        this.spritPointsLeft1Back = { x: 195, y: 237 };
        this.spritPointsLeftBack = { x: 103, y: 291 };
        this.rotateFrame = { width: 467, height: 559 };
        this.connectorRotate = [
          { x: -93, y: 215 },
          { x: 94, y: 215 },
          { x: 371, y: -54 },
          { x: -94, y: 107 },
          { x: 186, y: 161 },
          { x: 279, y: 108 },
          { x: 372, y: 55 },
          { x: 0, y: 53 },
          { x: 93, y: 0 },
          { x: 186, y: -54 },
        ];
        this.connectorLeft = this.getRotateCords(
          this.connectorRotate,
          this.MPASP120H9.spriteCenter,
          this.spritPointsLeft
        );
        this.connectorLeft1 = this.getRotateCords(
          this.connectorRotate,
          this.MPASP120H9.spriteCenter,
          this.spritPointsLeft1
        );
        this.connectorRight = this.getRotateCords(
          this.connectorRotate,
          this.MPASP120H9.spriteCenter,
          this.spritPointsRight
        );
        this.connectorRight1 = this.getRotateCords(
          this.connectorRotate,
          this.MPASP120H9.spriteCenter,
          this.spritPointsRight1
        );
        break;
      case "90_9":
        data = this.MPASP90H9;
        this.spriteSheetImg = "assets/spritesheets/MPASP90-9.png";
        this.spriteSheetFrame = [[372, 0, 372, 506]];
        this.spritPointsLeft = { x: 102, y: 25 };
        this.spritPointsLeft1 = { x: 109, y: 23 };
        this.spritPointsRight = { x: 10, y: 79 };
        this.spritPointsRight1 = { x: -80, y: 130 };
        this.spritPointsRight1Back = { x: 291, y: 130 };
        this.spritPointsRightBack = { x: 291, y: 130 };
        this.spritPointsLeft1Back = { x: 196, y: 185 };
        this.spritPointsLeftBack = { x: 105, y: 238 };
        this.rotateFrame = { width: 372, height: 506 };
        this.spritPointsMainLeft = { x: 290, y: 130 };
        this.spritPointsRightLeft = { x: 101, y: 183 };
        this.spritPointsRight1Left = { x: 202, y: 187 };
        this.spritPointsLeft1Left = { x: 202, y: 187 };
        this.spritPointsLeftLeft = { x: 300 - 15, y: 244 - 10 };
        this.spritPointsMainRight = { x: 105, y: 238 };
        this.spritPointsRightRight = { x: 101, y: 183 };
        this.spritPointsRight1Right = { x: 202, y: 187 };
        this.spritPointsLeft1Right = { x: 202, y: 187 };
        this.spritPointsLeftRight = { x: 300 - 15, y: 244 - 10 };
        break;
      case "60_9":
        data = this.MPASP60H9;
        this.spriteSheetImg = "assets/spritesheets/MPASP60-9.png";
        this.spriteSheetFrame = [[280, 0, 280, 452]];
        this.spritPointsLeft = { x: 105, y: 76 };
        this.spritPointsRight = { x: 10, y: 79 };
        this.spritPointsRight1 = { x: 12, y: 130 };
        this.spritPointsRight1Back = { x: 291, y: 130 };
        this.spritPointsRightBack = { x: 291, y: 130 };
        this.spritPointsLeft1Back = { x: 196, y: 185 };
        this.spritPointsLeftBack = { x: 105, y: 238 };
        this.rotateFrame = { width: 280, height: 452 };
        this.spritPointsMainLeft = { x: 290, y: 130 };
        this.spritPointsRightLeft = { x: 104, y: 130 };
        this.spritPointsRight1Left = { x: 202, y: 187 };
        this.spritPointsLeft1Left = { x: 202, y: 187 };
        this.spritPointsLeftLeft = { x: 300 - 15, y: 244 - 10 };
        this.spritPointsMainRight = { x: 105, y: 238 };
        this.spritPointsRightRight = { x: 104, y: 130 };
        this.spritPointsRight1Right = { x: 202, y: 187 };
        this.spritPointsLeft1Right = { x: 202, y: 187 };
        this.spritPointsLeftRight = { x: 300 - 15, y: 244 - 10 };
        break;
      case "30_9":
        this.spriteSheetImg = "assets/spritesheets/MPASP30-9.png";
        this.spriteSheetFrame = [[467, 0, 467, 559]];
        data = this.MPASP120H9;
        break;
      case "120_8":
        data = this.MPASP120H8;
        this.spriteSheetImg = "assets/spritesheets/MPASP120-8.png";
        this.spriteSheetFrame = [[466, 0, 466, 527]];
        this.spritPointsLeft = { x: 105, y: -82 };
        this.spritPointsLeft1 = { x: 8, y: -27 };
        this.spritPointsRight = { x: -86, y: 27 };
        this.spritPointsRight1 = { x: -180, y: 82 };
        this.spritPointsMainLeft = { x: 382, y: 130 };
        this.spritPointsRightLeft = { x: 104, y: 130 };
        this.spritPointsRight1Left = { x: 202, y: 187 };
        this.spritPointsLeft1Left = { x: 300 - 15, y: 244 - 10 };
        this.spritPointsLeftLeft = { x: 398 - 15, y: 301 - 10 };
        this.spritPointsMainRight = { x: 102, y: 292 };
        this.spritPointsRightRight = { x: 104, y: 130 };
        this.spritPointsRight1Right = { x: 202, y: 187 };
        this.spritPointsLeft1Right = { x: 300 - 15, y: 244 - 10 };
        this.spritPointsLeftRight = { x: 398 - 15, y: 301 - 10 };
        this.spritPointsMainBack = { x: 382, y: 130 };
        this.spritPointsRight1Back = { x: 380, y: 130 };
        this.spritPointsRightBack = { x: 287, y: 183 };
        this.spritPointsLeft1Back = { x: 195, y: 237 };
        this.spritPointsLeftBack = { x: 103, y: 291 };
        this.rotateFrame = { width: 466, height: 527 };
        this.connectorRotate = [
          { x: -93, y: 215 },
          { x: 94, y: 215 },
          { x: 371, y: -54 },
          { x: -94, y: 107 },
          { x: 186, y: 161 },
          { x: 279, y: 108 },
          { x: 372, y: 55 },
          { x: 0, y: 53 },
          { x: 93, y: 0 },
          { x: 186, y: -54 },
        ];
        this.connectorLeft = this.getRotateCords(
          this.connectorRotate,
          this.MPASP120H8.spriteCenter,
          this.spritPointsLeft
        );
        this.connectorLeft1 = this.getRotateCords(
          this.connectorRotate,
          this.MPASP120H8.spriteCenter,
          this.spritPointsLeft1
        );
        this.connectorRight = this.getRotateCords(
          this.connectorRotate,
          this.MPASP120H8.spriteCenter,
          this.spritPointsRight
        );
        this.connectorRight1 = this.getRotateCords(
          this.connectorRotate,
          this.MPASP120H8.spriteCenter,
          this.spritPointsRight1
        );
        break;
      case "90_8":
        data = this.MPASP90H8;
        this.spriteSheetImg = "assets/spritesheets/MPASP90-8.png";
        this.spriteSheetFrame = [[373, 0, 373, 473]];
        this.spritPointsLeft = { x: 108, y: -30 };
        this.spritPointsLeft1 = { x: 109, y: 23 };
        this.spritPointsRight = { x: 10, y: 28 };
        this.spritPointsRight1 = { x: -85, y: 85 };
        this.spritPointsRight1Back = { x: 291, y: 130 };
        this.spritPointsRightBack = { x: 291, y: 130 };
        this.spritPointsLeft1Back = { x: 196, y: 185 };
        this.spritPointsLeftBack = { x: 105, y: 238 };
        this.rotateFrame = { width: 373, height: 473 };
        this.spritPointsMainLeft = { x: 290, y: 130 };
        this.spritPointsRightLeft = { x: 104, y: 130 };
        this.spritPointsRight1Left = { x: 202, y: 187 };
        this.spritPointsLeft1Left = { x: 202, y: 187 };
        this.spritPointsLeftLeft = { x: 300 - 15, y: 244 - 10 };
        this.spritPointsMainRight = { x: 105, y: 238 };
        this.spritPointsRightRight = { x: 104, y: 130 };
        this.spritPointsRight1Right = { x: 202, y: 187 };
        this.spritPointsLeft1Right = { x: 202, y: 187 };
        this.spritPointsLeftRight = { x: 300 - 15, y: 244 - 10 };
        break;
      case "60_8":
        data = this.MPASP60H8;
        this.spriteSheetImg = "assets/spritesheets/MPASP60-8.png";
        this.spriteSheetFrame = [[281, 0, 281, 420]];
        this.spritPointsLeft = { x: 102, y: 25 };
        this.spritPointsLeft1 = { x: 12 + 100, y: 20 };
        this.spritPointsRight = { x: 10, y: 79 };
        this.spritPointsRight1 = { x: 12, y: 80 };
        this.spritPointsRight1Back = { x: 291, y: 130 };
        this.spritPointsRightBack = { x: 291, y: 130 };
        this.spritPointsLeft1Back = { x: 196, y: 185 };
        this.spritPointsLeftBack = { x: 105, y: 238 };
        this.rotateFrame = { width: 281, height: 420 };
        this.spritPointsMainLeft = { x: 290, y: 130 };
        this.spritPointsRightLeft = { x: 104, y: 130 };
        this.spritPointsRight1Left = { x: 202, y: 187 };
        this.spritPointsLeft1Left = { x: 202, y: 187 };
        this.spritPointsLeftLeft = { x: 300 - 15, y: 244 - 10 };
        this.spritPointsMainRight = { x: 105, y: 238 };
        this.spritPointsRightRight = { x: 104, y: 130 };
        this.spritPointsRight1Right = { x: 202, y: 187 };
        this.spritPointsLeft1Right = { x: 202, y: 187 };
        this.spritPointsLeftRight = { x: 300 - 15, y: 244 - 10 };
        break;
      case "120_7":
        data = this.MPASP120H7;
        this.spriteSheetImg = "assets/spritesheets/MPASP120-7.png";
        this.spriteSheetFrame = [[467, 0, 467, 495]];
        this.spritPointsLeft = { x: 56, y: -125 };
        this.spritPointsLeft1 = { x: -40, y: -68 };
        this.spritPointsRight = { x: -126, y: -18 };
        this.spritPointsRight1 = { x: -230, y: 43 };
        this.spritPointsMainLeft = { x: 382, y: 130 };
        this.spritPointsRightLeft = { x: 104, y: 130 };
        this.spritPointsRight1Left = { x: 202, y: 187 };
        this.spritPointsLeft1Left = { x: 300 - 15, y: 244 - 10 };
        this.spritPointsLeftLeft = { x: 398 - 15, y: 301 - 10 };
        this.spritPointsMainRight = { x: 102, y: 292 };
        this.spritPointsRightRight = { x: 104, y: 130 };
        this.spritPointsRight1Right = { x: 202, y: 187 };
        this.spritPointsLeft1Right = { x: 300 - 15, y: 244 - 10 };
        this.spritPointsLeftRight = { x: 398 - 15, y: 301 - 10 };
        this.spritPointsMainBack = { x: 382, y: 130 };
        this.spritPointsRight1Back = { x: 380, y: 130 };
        this.spritPointsRightBack = { x: 287, y: 183 };
        this.spritPointsLeft1Back = { x: 195, y: 237 };
        this.spritPointsLeftBack = { x: 103, y: 291 };
        this.rotateFrame = { width: 467, height: 495 };
        this.connectorRotate = [
          { x: -93, y: 215 },
          { x: 94, y: 215 },
          { x: 371, y: -54 },
          { x: -94, y: 107 },
          { x: 186, y: 161 },
          { x: 279, y: 108 },
          { x: 372, y: 55 },
          { x: 0, y: 53 },
          { x: 93, y: 0 },
          { x: 186, y: -54 },
        ];
        this.connectorLeft = this.getRotateCords(
          this.connectorRotate,
          this.MPASP120H7.spriteCenter,
          this.spritPointsLeft
        );
        this.connectorLeft1 = this.getRotateCords(
          this.connectorRotate,
          this.MPASP120H7.spriteCenter,
          this.spritPointsLeft1
        );
        this.connectorRight = this.getRotateCords(
          this.connectorRotate,
          this.MPASP120H7.spriteCenter,
          this.spritPointsRight
        );
        this.connectorRight1 = this.getRotateCords(
          this.connectorRotate,
          this.MPASP120H7.spriteCenter,
          this.spritPointsRight1
        );
        break;
      case "90_7":
        data = this.MPASP90H7;
        this.spriteSheetImg = "assets/spritesheets/MPASP90-7.png";
        this.spriteSheetFrame = [[373, 0, 373, 441]];
        this.spritPointsLeft = { x: -38, y: -15 };
        this.spritPointsLeft1 = { x: -26, y: -20 };
        this.spritPointsRight = { x: 54, y: -65 };
        this.spritPointsRight1 = { x: -137, y: 43 };
        this.spritPointsRight1Back = { x: 291, y: 130 };
        this.spritPointsRightBack = { x: 291, y: 130 };
        this.spritPointsLeft1Back = { x: 196, y: 185 };
        this.spritPointsLeftBack = { x: 105, y: 238 };
        this.rotateFrame = { width: 373, height: 441 };
        this.spritPointsMainLeft = { x: 290, y: 130 };
        this.spritPointsRightLeft = { x: 104, y: 130 };
        this.spritPointsRight1Left = { x: 202, y: 187 };
        this.spritPointsLeft1Left = { x: 202, y: 187 };
        this.spritPointsLeftLeft = { x: 300 - 15, y: 244 - 10 };
        this.spritPointsMainRight = { x: 105, y: 238 };
        this.spritPointsRightRight = { x: 104, y: 130 };
        this.spritPointsRight1Right = { x: 202, y: 187 };
        this.spritPointsLeft1Right = { x: 202, y: 187 };
        this.spritPointsLeftRight = { x: 300 - 15, y: 244 - 10 };
        break;
      case "60_7":
        data = this.MPASP60H7;
        this.spriteSheetImg = "assets/spritesheets/MPASP60-7.png";
        this.spriteSheetFrame = [[280, 0, 280, 387]];
        this.spritPointsLeft = { x: 52, y: -12 };
        this.spritPointsLeft1 = { x: 12 + 50, y: -20 };
        this.spritPointsRight = { x: 10, y: 79 };
        this.spritPointsRight1 = { x: -35, y: 38 };
        this.spritPointsRight1Back = { x: 291, y: 130 };
        this.spritPointsRightBack = { x: 291, y: 130 };
        this.spritPointsLeft1Back = { x: 196, y: 185 };
        this.spritPointsLeftBack = { x: 105, y: 238 };
        this.rotateFrame = { width: 280, height: 387 };
        this.spritPointsMainLeft = { x: 290, y: 130 };
        this.spritPointsRightLeft = { x: 104, y: 130 };
        this.spritPointsRight1Left = { x: 202, y: 187 };
        this.spritPointsLeft1Left = { x: 202, y: 187 };
        this.spritPointsLeftLeft = { x: 300 - 15, y: 244 - 10 };
        this.spritPointsMainRight = { x: 105, y: 238 };
        this.spritPointsRightRight = { x: 104, y: 130 };
        this.spritPointsRight1Right = { x: 202, y: 187 };
        this.spritPointsLeft1Right = { x: 202, y: 187 };
        this.spritPointsLeftRight = { x: 300 - 15, y: 244 - 10 };
        break;
      case "120_6":
        data = this.MPASP120H6;
        this.spriteSheetImg = "assets/spritesheets/MPASP120-6.png";
        this.spriteSheetFrame = [[467, 0, 467, 463]];
        this.spritPointsLeft = { x: 31, y: -168 };
        this.spritPointsLeft1 = { x: -68, y: -109 };
        this.spritPointsRight = { x: -155, y: -60 };
        this.spritPointsRight1 = { x: -258, y: 1 };
        this.spritPointsMainLeft = { x: 382, y: 130 };
        this.spritPointsRightLeft = { x: 104, y: 130 };
        this.spritPointsRight1Left = { x: 202, y: 187 };
        this.spritPointsLeft1Left = { x: 300 - 15, y: 244 - 10 };
        this.spritPointsLeftLeft = { x: 398 - 15, y: 301 - 10 };
        this.spritPointsMainRight = { x: 102, y: 292 };
        this.spritPointsRightRight = { x: 104, y: 130 };
        this.spritPointsRight1Right = { x: 202, y: 187 };
        this.spritPointsLeft1Right = { x: 300 - 15, y: 244 - 10 };
        this.spritPointsLeftRight = { x: 398 - 15, y: 301 - 10 };
        this.spritPointsMainBack = { x: 382, y: 130 };
        this.spritPointsRight1Back = { x: 380, y: 130 };
        this.spritPointsRightBack = { x: 287, y: 183 };
        this.spritPointsLeft1Back = { x: 195, y: 237 };
        this.spritPointsLeftBack = { x: 103, y: 291 };
        this.rotateFrame = { width: 467, height: 463 };
        this.connectorRotate = [
          { x: -93, y: 215 },
          { x: 94, y: 215 },
          { x: 371, y: -54 },
          { x: -94, y: 107 },
          { x: 186, y: 161 },
          { x: 279, y: 108 },
          { x: 372, y: 55 },
          { x: 0, y: 53 },
          { x: 93, y: 0 },
          { x: 186, y: -54 },
        ];
        this.connectorLeft = this.getRotateCords(
          this.connectorRotate,
          this.MPASP120H6.spriteCenter,
          this.spritPointsLeft
        );
        this.connectorLeft1 = this.getRotateCords(
          this.connectorRotate,
          this.MPASP120H6.spriteCenter,
          this.spritPointsLeft1
        );
        this.connectorRight = this.getRotateCords(
          this.connectorRotate,
          this.MPASP120H6.spriteCenter,
          this.spritPointsRight
        );
        this.connectorRight1 = this.getRotateCords(
          this.connectorRotate,
          this.MPASP120H6.spriteCenter,
          this.spritPointsRight1
        );
        break;
      case "90_6":
        data = this.MPASP90H6;
        this.spriteSheetImg = "assets/spritesheets/MPASP90-6.png";
        this.spriteSheetFrame = [[372, 0, 372, 409]];
        this.spritPointsLeft = { x: 25, y: -107 };
        this.spritPointsRight = { x: -65, y: -56 };
        this.spritPointsRight1 = { x: -162, y: 1 };
        this.spritPointsLeft1 = { x: 29, y: -107 };
        this.spritPointsRight1Back = { x: 291, y: 130 };
        this.spritPointsRightBack = { x: 291, y: 130 };
        this.spritPointsLeft1Back = { x: 196, y: 185 };
        this.spritPointsLeftBack = { x: 105, y: 238 };
        this.rotateFrame = { width: 372, height: 409 };
        this.spritPointsMainLeft = { x: 290, y: 130 };
        this.spritPointsRightLeft = { x: 104, y: 130 };
        this.spritPointsRight1Left = { x: 202, y: 187 };
        this.spritPointsLeft1Left = { x: 202, y: 187 };
        this.spritPointsLeftLeft = { x: 300 - 15, y: 244 - 10 };
        this.spritPointsMainRight = { x: 105, y: 238 };
        this.spritPointsRightRight = { x: 104, y: 130 };
        this.spritPointsRight1Right = { x: 202, y: 187 };
        this.spritPointsLeft1Right = { x: 202, y: 187 };
        this.spritPointsLeftRight = { x: 300 - 15, y: 244 - 10 };
        break;
      case "60_6":
        data = this.MPASP60H6;
        this.spriteSheetImg = "assets/spritesheets/MPASP60-6.png";
        this.spriteSheetFrame = [[281, 0, 281, 355]];
        this.spritPointsLeft = { x: 24, y: -55 };
        this.spritPointsLeft1 = { x: 24, y: -55 };
        this.spritPointsRight = { x: 0, y: 0 };
        this.spritPointsRight1 = { x: -70, y: -2 };
        this.spritPointsRight1Back = { x: 291, y: 130 };
        this.spritPointsRightBack = { x: 291, y: 130 };
        this.spritPointsLeft1Back = { x: 196, y: 185 };
        this.spritPointsLeftBack = { x: 105, y: 238 };
        this.rotateFrame = { width: 281, height: 355 };
        this.spritPointsMainLeft = { x: 290, y: 130 };
        this.spritPointsRightLeft = { x: 104, y: 130 };
        this.spritPointsRight1Left = { x: 202, y: 187 };
        this.spritPointsLeft1Left = { x: 202, y: 187 };
        this.spritPointsLeftLeft = { x: 300 - 15, y: 244 - 10 };
        this.spritPointsMainRight = { x: 105, y: 238 };
        this.spritPointsRightRight = { x: 104, y: 130 };
        this.spritPointsRight1Right = { x: 202, y: 187 };
        this.spritPointsLeft1Right = { x: 202, y: 187 };
        this.spritPointsLeftRight = { x: 300 - 15, y: 244 - 10 };
        break;
      case "120_5":
        data = this.MPASP120H5;
        this.spriteSheetImg = "assets/spritesheets/MPASP120-5.png";
        this.spriteSheetFrame = [[465, 0, 465, 430]];
        this.spritPointsLeft = { x: 10, y: -167 };
        this.spritPointsLeft1 = { x: -88, y: -110 };
        this.spritPointsRight = { x: -177, y: -59 };
        this.spritPointsRight1 = { x: -278, y: -1 };
        this.spritPointsMainLeft = { x: 382, y: 130 };
        this.spritPointsRightLeft = { x: 104, y: 130 };
        this.spritPointsRight1Left = { x: 202, y: 187 };
        this.spritPointsLeft1Left = { x: 300 - 15, y: 244 - 10 };
        this.spritPointsLeftLeft = { x: 398 - 15, y: 301 - 10 };
        this.spritPointsMainRight = { x: 102, y: 292 };
        this.spritPointsRightRight = { x: 104, y: 130 };
        this.spritPointsRight1Right = { x: 202, y: 187 };
        this.spritPointsLeft1Right = { x: 300 - 15, y: 244 - 10 };
        this.spritPointsLeftRight = { x: 398 - 15, y: 301 - 10 };
        this.spritPointsMainBack = { x: 382, y: 130 };
        this.spritPointsRight1Back = { x: 380, y: 130 };
        this.spritPointsRightBack = { x: 287, y: 183 };
        this.spritPointsLeft1Back = { x: 195, y: 237 };
        this.spritPointsLeftBack = { x: 103, y: 291 };
        this.rotateFrame = { width: 465, height: 430 };
        this.connectorRotate = [
          { x: -93, y: 215 },
          { x: 94, y: 215 },
          { x: 371, y: -54 },
          { x: -94, y: 107 },
          { x: 186, y: 161 },
          { x: 279, y: 108 },
          { x: 372, y: 55 },
          { x: 0, y: 53 },
          { x: 93, y: 0 },
          { x: 186, y: -54 },
        ];
        this.connectorLeft = this.getRotateCords(
          this.connectorRotate,
          this.MPASP120H5.spriteCenter,
          this.spritPointsLeft
        );
        this.connectorLeft1 = this.getRotateCords(
          this.connectorRotate,
          this.MPASP120H5.spriteCenter,
          this.spritPointsLeft1
        );
        this.connectorRight = this.getRotateCords(
          this.connectorRotate,
          this.MPASP120H5.spriteCenter,
          this.spritPointsRight
        );
        this.connectorRight1 = this.getRotateCords(
          this.connectorRotate,
          this.MPASP120H5.spriteCenter,
          this.spritPointsRight1
        );
        break;
      case "90_5":
        data = this.MPASP90H5;
        this.spriteSheetImg = "assets/spritesheets/MPASP90-5.png";
        this.spriteSheetFrame = [[374, 0, 374, 377]];
        this.spritPointsLeft = { x: 10, y: -113 };
        this.spritPointsRight = { x: -96, y: -50 };
        this.spritPointsRight1 = { x: -180, y: -4 };
        this.spritPointsLeft1 = { x: -96, y: -50 };
        this.spritPointsRight1Back = { x: 291, y: 130 };
        this.spritPointsRightBack = { x: 291, y: 130 };
        this.spritPointsLeft1Back = { x: 196, y: 185 };
        this.spritPointsLeftBack = { x: 105, y: 238 };
        this.rotateFrame = { width: 374, height: 377 };
        this.spritPointsMainLeft = { x: 290, y: 130 };
        this.spritPointsRightLeft = { x: 104, y: 130 };
        this.spritPointsRight1Left = { x: 202, y: 187 };
        this.spritPointsLeft1Left = { x: 202, y: 187 };
        this.spritPointsLeftLeft = { x: 300 - 15, y: 244 - 10 };
        this.spritPointsMainRight = { x: 105, y: 238 };
        this.spritPointsRightRight = { x: 104, y: 130 };
        this.spritPointsRight1Right = { x: 202, y: 187 };
        this.spritPointsLeft1Right = { x: 202, y: 187 };
        this.spritPointsLeftRight = { x: 300 - 15, y: 244 - 10 };
        break;
      case "60_5":
        data = this.MPASP60H5;
        this.spriteSheetImg = "assets/spritesheets/MPASP60-5.png";
        this.spriteSheetFrame = [[281, 0, 281, 323]];
        this.spritPointsLeft = { x: 12, y: -60 };
        this.spritPointsLeft1 = { x: 8, y: -61 };
        this.spritPointsRight = { x: -96, y: 1 };
        this.spritPointsRight1 = { x: -90, y: -3 };
        this.spritPointsRight1Back = { x: 291, y: 130 };
        this.spritPointsRightBack = { x: 291, y: 130 };
        this.spritPointsLeft1Back = { x: 196, y: 185 };
        this.spritPointsLeftBack = { x: 105, y: 238 };
        this.rotateFrame = { width: 281, height: 323 };
        this.spritPointsMainLeft = { x: 290, y: 130 };
        this.spritPointsRightLeft = { x: 104, y: 130 };
        this.spritPointsRight1Left = { x: 202, y: 187 };
        this.spritPointsLeft1Left = { x: 202, y: 187 };
        this.spritPointsLeftLeft = { x: 300 - 15, y: 244 - 10 };
        this.spritPointsMainRight = { x: 105, y: 238 };
        this.spritPointsRightRight = { x: 104, y: 130 };
        this.spritPointsRight1Right = { x: 202, y: 187 };
        this.spritPointsLeft1Right = { x: 202, y: 187 };
        this.spritPointsLeftRight = { x: 300 - 15, y: 244 - 10 };
        break;
      case "120_4":
        data = this.MPASP120H4;
        this.spriteSheetImg = "assets/spritesheets/MPASP120-4.png";
        this.spriteSheetFrame = [[466, 0, 466, 398]];
        this.spritPointsLeft = { x: 10, y: -167 };
        this.spritPointsLeft1 = { x: -88, y: -110 };
        this.spritPointsRight = { x: -177, y: -59 };
        this.spritPointsRight1 = { x: -278, y: -1 };
        this.spritPointsMainLeft = { x: 382, y: 130 };
        this.spritPointsRightLeft = { x: 104, y: 130 };
        this.spritPointsRight1Left = { x: 202, y: 187 };
        this.spritPointsLeft1Left = { x: 300 - 15, y: 244 - 10 };
        this.spritPointsLeftLeft = { x: 398 - 15, y: 301 - 10 };
        this.spritPointsMainRight = { x: 102, y: 292 };
        this.spritPointsRightRight = { x: 104, y: 130 };
        this.spritPointsRight1Right = { x: 202, y: 187 };
        this.spritPointsLeft1Right = { x: 300 - 15, y: 244 - 10 };
        this.spritPointsLeftRight = { x: 398 - 15, y: 301 - 10 };
        this.spritPointsMainBack = { x: 382, y: 130 };
        this.spritPointsRight1Back = { x: 380, y: 130 };
        this.spritPointsRightBack = { x: 287, y: 183 };
        this.spritPointsLeft1Back = { x: 195, y: 237 };
        this.spritPointsLeftBack = { x: 103, y: 291 };
        this.rotateFrame = { width: 466, height: 398 };
        this.connectorRotate = [
          { x: -93, y: 215 },
          { x: 94, y: 215 },
          { x: 371, y: -54 },
          { x: -94, y: 107 },
          { x: 186, y: 161 },
          { x: 279, y: 108 },
          { x: 372, y: 55 },
          { x: 0, y: 53 },
          { x: 93, y: 0 },
          { x: 186, y: -54 },
        ];
        this.connectorLeft = this.getRotateCords(
          this.connectorRotate,
          this.MPASP120H4.spriteCenter,
          this.spritPointsLeft
        );
        this.connectorLeft1 = this.getRotateCords(
          this.connectorRotate,
          this.MPASP120H4.spriteCenter,
          this.spritPointsLeft1
        );
        this.connectorRight = this.getRotateCords(
          this.connectorRotate,
          this.MPASP120H4.spriteCenter,
          this.spritPointsRight
        );
        this.connectorRight1 = this.getRotateCords(
          this.connectorRotate,
          this.MPASP120H4.spriteCenter,
          this.spritPointsRight1
        );
        break;
      case "90_4":
        data = this.MPASP90H4;
        this.spriteSheetImg = "assets/spritesheets/MPASP90-4.png";
        this.spriteSheetFrame = [[373, 0, 373, 344]];
        this.spritPointsLeft = { x: 10, y: -112 };
        this.spritPointsRight = { x: -85, y: -58 };
        this.spritPointsLeft1 = { x: 4, y: -107 };
        this.spritPointsRight1 = { x: -188, y: 2 };
        this.spritPointsRight1Back = { x: 291, y: 130 };
        this.spritPointsRightBack = { x: 291, y: 130 };
        this.spritPointsLeft1Back = { x: 196, y: 185 };
        this.spritPointsLeftBack = { x: 105, y: 238 };
        this.rotateFrame = { width: 373, height: 344 };
        this.spritPointsMainLeft = { x: 290, y: 130 };
        this.spritPointsRightLeft = { x: 104, y: 130 };
        this.spritPointsRight1Left = { x: 202, y: 187 };
        this.spritPointsLeft1Left = { x: 202, y: 187 };
        this.spritPointsLeftLeft = { x: 300 - 15, y: 244 - 10 };
        this.spritPointsMainRight = { x: 105, y: 238 };
        this.spritPointsRightRight = { x: 104, y: 130 };
        this.spritPointsRight1Right = { x: 202, y: 187 };
        this.spritPointsLeft1Right = { x: 202, y: 187 };
        this.spritPointsLeftRight = { x: 300 - 15, y: 244 - 10 };
        break;
      case "60_4":
        data = this.MPASP60H4;
        this.spriteSheetImg = "assets/spritesheets/MPASP60-4.png";
        this.spriteSheetFrame = [[280, 0, 280, 290]];
        this.spritPointsLeft = { x: 6, y: -60 };
        this.spritPointsLeft1 = { x: 6, y: -60 };
        this.spritPointsRight = { x: 10, y: 79 };
        this.spritPointsRight1 = { x: -84, y: -4 };
        this.spritPointsRight1Back = { x: 291, y: 130 };
        this.spritPointsRightBack = { x: 291, y: 130 };
        this.spritPointsLeft1Back = { x: 196, y: 185 };
        this.spritPointsLeftBack = { x: 105, y: 238 };
        this.rotateFrame = { width: 280, height: 290 };
        this.spritPointsMainLeft = { x: 290, y: 130 };
        this.spritPointsRightLeft = { x: 104, y: 130 };
        this.spritPointsRight1Left = { x: 202, y: 187 };
        this.spritPointsLeft1Left = { x: 202, y: 187 };
        this.spritPointsLeftLeft = { x: 300 - 15, y: 244 - 10 };
        this.spritPointsMainRight = { x: 105, y: 238 };
        this.spritPointsRightRight = { x: 104, y: 130 };
        this.spritPointsRight1Right = { x: 202, y: 187 };
        this.spritPointsLeft1Right = { x: 202, y: 187 };
        this.spritPointsLeftRight = { x: 300 - 15, y: 244 - 10 };
        break;
      case "120_3":
        data = this.MPASP120H3;
        this.spriteSheetImg = "assets/spritesheets/MPASP120-3.png";
        this.spriteSheetFrame = [[466, 0, 466, 366]];
        this.spritPointsLeft = { x: 80, y: -85 };
        this.spritPointsLeft1 = { x: -25, y: -24 };
        this.spritPointsRight = { x: -115, y: 28 };
        this.spritPointsRight1 = { x: -210, y: 83 };
        this.spritPointsMainLeft = { x: 382, y: 130 };
        this.spritPointsRightLeft = { x: 104, y: 130 };
        this.spritPointsRight1Left = { x: 202, y: 187 };
        this.spritPointsLeft1Left = { x: 300 - 15, y: 244 - 10 };
        this.spritPointsLeftLeft = { x: 398 - 15, y: 301 - 10 };
        this.spritPointsMainRight = { x: 102, y: 292 };
        this.spritPointsRightRight = { x: 104, y: 130 };
        this.spritPointsRight1Right = { x: 202, y: 187 };
        this.spritPointsLeft1Right = { x: 300 - 15, y: 244 - 10 };
        this.spritPointsLeftRight = { x: 398 - 15, y: 301 - 10 };
        this.spritPointsMainBack = { x: 382, y: 130 };
        this.spritPointsRight1Back = { x: 380, y: 130 };
        this.spritPointsRightBack = { x: 287, y: 183 };
        this.spritPointsLeft1Back = { x: 195, y: 237 };
        this.spritPointsLeftBack = { x: 103, y: 291 };
        this.rotateFrame = { width: 466, height: 366 };
        this.connectorRotate = [
          { x: -93, y: 215 },
          { x: 94, y: 215 },
          { x: 371, y: -54 },
          { x: -94, y: 107 },
          { x: 186, y: 161 },
          { x: 279, y: 108 },
          { x: 372, y: 55 },
          { x: 0, y: 53 },
          { x: 93, y: 0 },
          { x: 186, y: -54 },
        ];
        this.connectorLeft = this.getRotateCords(
          this.connectorRotate,
          this.MPASP120H3.spriteCenter,
          this.spritPointsLeft
        );
        this.connectorLeft1 = this.getRotateCords(
          this.connectorRotate,
          this.MPASP120H3.spriteCenter,
          this.spritPointsLeft1
        );
        this.connectorRight = this.getRotateCords(
          this.connectorRotate,
          this.MPASP120H3.spriteCenter,
          this.spritPointsRight
        );
        this.connectorRight1 = this.getRotateCords(
          this.connectorRotate,
          this.MPASP120H3.spriteCenter,
          this.spritPointsRight1
        );
        break;
      case "90_3":
        data = this.MPASP90H3;
        this.spriteSheetImg = "assets/spritesheets/MPASP90-3.png";
        //frames: { width: 373, height: 312 },
        this.spriteSheetFrame = [[372, 0, 372, 312]];
        this.spritPointsLeft = { x: 78, y: -28 };
        this.spritPointsRight = { x: -15, y: 25 };
        this.spritPointsLeft1 = { x: 78, y: -28 };
        this.spritPointsRight1 = { x: -120, y: 88 };
        this.spritPointsRight1Back = { x: 291, y: 130 };
        this.spritPointsRightBack = { x: 291, y: 130 };
        this.spritPointsLeft1Back = { x: 196, y: 185 };
        this.spritPointsLeftBack = { x: 105, y: 238 };
        this.rotateFrame = { width: 372, height: 312 };
        this.spritPointsMainLeft = { x: 290, y: 130 };
        this.spritPointsRightLeft = { x: 104, y: 130 };
        this.spritPointsRight1Left = { x: 202, y: 187 };
        this.spritPointsLeft1Left = { x: 202, y: 187 };
        this.spritPointsLeftLeft = { x: 300 - 15, y: 244 - 10 };
        this.spritPointsMainRight = { x: 105, y: 238 };
        this.spritPointsRightRight = { x: 104, y: 130 };
        this.spritPointsRight1Right = { x: 202, y: 187 };
        this.spritPointsLeft1Right = { x: 202, y: 187 };
        this.spritPointsLeftRight = { x: 300 - 15, y: 244 - 10 };
        break;
      case "60_3":
        data = this.MPASP60H3;
        this.spriteSheetImg = "assets/spritesheets/MPASP60-3.png";
        this.spriteSheetFrame = [[280, 0, 280, 258]];
        this.spritPointsLeft = { x: 75, y: 24 };
        this.spritPointsLeft1 = { x: 75, y: 24 };
        this.spritPointsRight = { x: -29, y: 86 };
        this.spritPointsRight1 = { x: -20, y: 82 };
        this.spritPointsRight1Back = { x: 291, y: 130 };
        this.spritPointsRightBack = { x: 291, y: 130 };
        this.spritPointsLeft1Back = { x: 196, y: 185 };
        this.spritPointsLeftBack = { x: 105, y: 238 };
        this.rotateFrame = { width: 280, height: 258 };
        this.spritPointsMainLeft = { x: 290, y: 130 };
        this.spritPointsRightLeft = { x: 104, y: 130 };
        this.spritPointsRight1Left = { x: 202, y: 187 };
        this.spritPointsLeft1Left = { x: 202, y: 187 };
        this.spritPointsLeftLeft = { x: 300 - 15, y: 244 - 10 };
        this.spritPointsMainRight = { x: 105, y: 238 };
        this.spritPointsRightRight = { x: 104, y: 130 };
        this.spritPointsRight1Right = { x: 202, y: 187 };
        this.spritPointsLeft1Right = { x: 202, y: 187 };
        this.spritPointsLeftRight = { x: 300 - 15, y: 244 - 10 };
        break;
      case "120_2":
        data = this.MPASP120H2;
        this.spriteSheetImg = "assets/spritesheets/MPASP120-2.png";
        this.spriteSheetFrame = [[466, 0, 466, 333]];
        this.spritPointsLeft = { x: 5, y: -162 };
        this.spritPointsLeft1 = { x: -95, y: -106 };
        this.spritPointsRight = { x: -190, y: -48 };
        this.spritPointsRight1 = { x: -285, y: 5 };
        this.spritPointsMainLeft = { x: 0, y: 0 };
        this.spritPointsRightLeft = { x: 0, y: 0 };
        this.spritPointsRight1Left = { x: 0, y: 0 };
        this.spritPointsLeft1Left = { x: 0, y: 0 };
        this.spritPointsLeftLeft = { x: 0, y: 0 };
        this.spritPointsMainRight = { x: 0, y: 0 };
        this.spritPointsRightRight = { x: 0, y: 0 };
        this.spritPointsRight1Right = { x: 0, y: 0 };
        this.spritPointsLeft1Right = { x: 0, y: 0 };
        this.spritPointsLeftRight = { x: 0, y: 0 };
        this.spritPointsMainBack = { x: 0, y: 0 };
        this.spritPointsRight1Back = { x: 0, y: 0 };
        this.spritPointsRightBack = { x: 0, y: 0 };
        this.spritPointsLeft1Back = { x: 0, y: 0 };
        this.spritPointsLeftBack = { x: 0, y: 0 };
        this.rotateFrame = { width: 466, height: 333 };
        this.connectorRotate = [
          { x: -93, y: 215 },
          { x: 94, y: 215 },
          { x: 371, y: -54 },
          { x: -94, y: 107 },
          { x: 186, y: 161 },
          { x: 279, y: 108 },
          { x: 372, y: 55 },
          { x: 0, y: 53 },
          { x: 93, y: 0 },
          { x: 186, y: -54 },
        ];
        this.connectorLeft = this.getRotateCords(
          this.connectorRotate,
          this.MPASP120H2.spriteCenter,
          this.spritPointsLeft
        );
        this.connectorLeft1 = this.getRotateCords(
          this.connectorRotate,
          this.MPASP120H2.spriteCenter,
          this.spritPointsLeft1
        );
        this.connectorRight = this.getRotateCords(
          this.connectorRotate,
          this.MPASP120H2.spriteCenter,
          this.spritPointsRight
        );
        this.connectorRight1 = this.getRotateCords(
          this.connectorRotate,
          this.MPASP120H2.spriteCenter,
          this.spritPointsRight1
        );
        break;
      case "90_2":
        data = this.MPASP90H2;
        this.spriteSheetImg = "assets/spritesheets/MPASP90-2.png";
        //frames: { width: 373, height: 280 },
        this.spriteSheetFrame = [[373, 0, 373, 280]];
        this.spritPointsLeft = { x: 4, y: -104 };
        this.spritPointsRight = { x: -91, y: -49 };
        this.spritPointsLeft1 = { x: -91, y: -49 };
        this.spritPointsRight1 = { x: -190, y: 8 };
        this.spritPointsRight1Back = { x: 291, y: 130 };
        this.spritPointsRightBack = { x: 291, y: 130 };
        this.spritPointsLeft1Back = { x: 196, y: 185 };
        this.spritPointsLeftBack = { x: 105, y: 238 };
        this.rotateFrame = { width: 373, height: 280 };
        this.spritPointsMainLeft = { x: 290, y: 130 };
        this.spritPointsRightLeft = { x: 104, y: 130 };
        this.spritPointsRight1Left = { x: 202, y: 187 };
        this.spritPointsLeft1Left = { x: 202, y: 187 };
        this.spritPointsLeftLeft = { x: 300 - 15, y: 244 - 10 };
        this.spritPointsMainRight = { x: 105, y: 238 };
        this.spritPointsRightRight = { x: 104, y: 130 };
        this.spritPointsRight1Right = { x: 202, y: 187 };
        this.spritPointsLeft1Right = { x: 202, y: 187 };
        this.spritPointsLeftRight = { x: 300 - 15, y: 244 - 10 };
        break;
      case "60_2":
        data = this.MPASP60H2;
        this.spriteSheetImg = "assets/spritesheets/MPASP60-2.png";
        this.spriteSheetFrame = [[280, 0, 280, 226]];
        this.spritPointsLeft = { x: 8, y: -56 };
        this.spritPointsLeft1 = { x: 8, y: -57 };
        this.spritPointsRight = { x: 10, y: 79 };
        this.spritPointsRight1 = { x: -89, y: 1 };
        this.spritPointsRight1Back = { x: 291, y: 130 };
        this.spritPointsRightBack = { x: 291, y: 130 };
        this.spritPointsLeft1Back = { x: 196, y: 185 };
        this.spritPointsLeftBack = { x: 105, y: 238 };
        this.rotateFrame = { width: 280, height: 226 };
        this.spritPointsMainLeft = { x: 290, y: 130 };
        this.spritPointsRightLeft = { x: 104, y: 130 };
        this.spritPointsRight1Left = { x: 202, y: 187 };
        this.spritPointsLeft1Left = { x: 202, y: 187 };
        this.spritPointsLeftLeft = { x: 300 - 15, y: 244 - 10 };
        this.spritPointsMainRight = { x: 105, y: 238 };
        this.spritPointsRightRight = { x: 104, y: 130 };
        this.spritPointsRight1Right = { x: 202, y: 187 };
        this.spritPointsLeft1Right = { x: 202, y: 187 };
        this.spritPointsLeftRight = { x: 300 - 15, y: 244 - 10 };
        break;
    }
    data.rotatingPosition = "front";
    data.rotationType = 2;
    data.defaultName = this.defaultName;
    data.height = this.height;
    return data;
  }
  center(side = "main") {
    let data = {
      name: "Center",
      spriteSheetButton: this.spriteSheetBuilder(
        "assets/spritesheets/mpasPlatformCenter.png",
        { width: 467, height: 285 }
      ),
    };
    switch (side) {
      case "main":
        return {
          ...this.main(),
          ...data,
        };
      case "left":
        return {
          ...this.mainLeft(),
          ...data,
        };
      case "right":
        return {
          ...this.mainRight(),
          ...data,
        };
      case "back":
        return {
          ...this.mainBack(),
          ...data,
        };
    }
  }
  left(side = "main") {
    let data = {
      ...this.center(side),
      name: "left turn",
      spriteSheetButton: this.spriteSheetBuilder(
        "assets/spritesheets/mpasPlatformRight1.png",
        { width: 467, height: 285 }
      ),
      rotatingPosition: "left",
      rotationType: 6,
    };
    switch (side) {
      case "main":
        return {
          ...data,
          spriteSheet: this.spriteSheetBuilder(
            this.spriteSheetImg,
            this.spriteSheetFrame
          ),
          spriteCenter: new createjs.Point(
            this.spritPointsLeft.x,
            this.spritPointsLeft.y
          ),
          connectorModifyRotate: this.connectorLeft,
          usedCoordinates: [
            { current: 0, parent: 3, name: "Front" },
            { current: 1, parent: 0, name: "Left" },
            { current: 2, parent: 1, name: "Back" },
            { current: 3, parent: 2, name: "Right" },

            { current: 4, parent: 0, name: "Left1" },
            { current: 5, parent: 0, name: "Left2" },
            { current: 6, parent: 0, name: "Left3" },

            { current: 7, parent: 2, name: "Right1" },
            { current: 8, parent: 2, name: "Right2" },
            { current: 9, parent: 2, name: "Right3" },
          ],
        };
      case "left":
        return {
          ...data,
          spriteSheet: this.spriteSheetBuilder(
            this.spriteSheetImg,
            this.rotateFrame
          ),
          spriteCenter: new createjs.Point(
            this.spritPointsLeftLeft.x,
            this.spritPointsLeftLeft.y
          ),
        };
      case "right":
        return {
          ...data,
          spriteSheet: this.spriteSheetBuilder(
            this.spriteSheetImg,
            this.rotateFrame
          ),
          spriteCenter: new createjs.Point(
            this.spritPointsLeftRight.x,
            this.spritPointsLeftRight.y
          ),
        };
      case "back":
        return {
          ...data,
          spriteSheet: this.spriteSheetBuilder(
            this.spriteSheetImg,
            this.spriteSheetFrame
          ),
          spriteCenter: new createjs.Point(
            this.spritPointsLeftBack.x,
            this.spritPointsLeftBack.y
          ),
          connectorModifyRotate: this.connectorLeft,
          usedCoordinates: [
            { current: 0, parent: 3, name: "Front" },
            { current: 1, parent: 0, name: "Left" },
            { current: 2, parent: 1, name: "Back" },
            { current: 3, parent: 2, name: "Right" },

            { current: 4, parent: 0, name: "Left1" },
            { current: 5, parent: 0, name: "Left2" },
            { current: 6, parent: 0, name: "Left3" },

            { current: 7, parent: 2, name: "Right1" },
            { current: 8, parent: 2, name: "Right2" },
            { current: 9, parent: 2, name: "Right3" },
          ],
        };
    }
  }
  left1(side = "main") {
    let data = {
      ...this.left(side),
      name: "Left turn & 1 move",
      spriteSheetButton: this.spriteSheetBuilder(
        "assets/spritesheets/mpasPlatformRight2.png",
        { width: 467, height: 285 }
      ),
      rotatingPosition: "left1",
      rotationType: 5,
      connectorModifyRotate: this.connectorLeft1,
    };
    let centerPoint = this.spritPointsLeft1;
    switch (side) {
      case "left":
        centerPoint = this.spritPointsLeft1Left;
        break;
      case "right":
        centerPoint = this.spritPointsLeft1Right;
        break;
      case "back":
        centerPoint = this.spritPointsLeft1Back;
        break;
    }
    return {
      ...data,
      spriteCenter: new createjs.Point(centerPoint.x, centerPoint.y),
    };
  }
  right(side = "main") {
    let data = {
      ...this.left(side),
      name: "Right turn & 1 move",
      spriteSheetButton: this.spriteSheetBuilder(
        "assets/spritesheets/mpasPlatformLeft1.png",
        { width: 467, height: 285 }
      ),
      rotatingPosition: "right",
      connectorModifyRotate: this.connectorRight,
      rotationType: 4,
    };
    let centerPoint = this.spritPointsRight;
    switch (side) {
      case "left":
        centerPoint = this.spritPointsRight1Left;
        break;
      case "right":
        centerPoint = this.spritPointsRight1Right;
        break;
      case "back":
        centerPoint = this.spritPointsRightBack;
        break;
    }
    return {
      ...data,
      spriteCenter: new createjs.Point(centerPoint.x, centerPoint.y),
    };
  }
  right1(side = "main") {
    let data = {
      ...this.left(side),
      name: "Right turn",
      spriteSheetButton: this.spriteSheetBuilder(
        "assets/spritesheets/mpasPlatformLeft2.png",
        { width: 467, height: 285 }
      ),
      rotatingPosition: "right1",
      connectorModifyRotate: this.connectorRight1,
      rotationType: 3,
    };
    let centerPoint = this.spritPointsRight1;
    switch (side) {
      case "left":
        centerPoint = this.spritPointsRightLeft;
        break;
      case "right":
        centerPoint = this.spritPointsRightRight;
        break;
      case "back":
        centerPoint = this.spritPointsRight1Back;
        break;
    }
    return {
      ...data,
      spriteCenter: new createjs.Point(centerPoint.x, centerPoint.y),
    };
  }
  mainLeft(side = "left") {
    return {
      ...this.main(),
      rotationType: 0,
      spriteSheet: this.spriteSheetBuilder(
        this.spriteSheetImg,
        this.spriteSheetFrame
      ),
      spriteCenter: new createjs.Point(
        this.spritPointsMainLeft.x,
        this.spritPointsMainLeft.y
      ),
      connectableParts: this.getConnectableParts(
        this.height,
        this.length,
        "Left"
      ),
      connectorModifyRotate: this.connectorLeft,
    };
  }
  mainRight(side = "right") {
    return {
      ...this.main(),
      spriteSheet: this.spriteSheetBuilder(
        this.spriteSheetImg,
        this.spriteSheetFrame
      ),
      spriteCenter: new createjs.Point(
        this.spritPointsMainRight.x,
        this.spritPointsMainRight.y
      ),
      connectableParts: this.getConnectableParts(
        this.height,
        this.length,
        "Right"
      ),
      connectorModifyRotate: this.connectorRight,
    };
  }
  mainBack(side = "back") {
    return {
      ...this.main(),
      connectableParts: this.getConnectableParts(
        this.height,
        this.length,
        "Back"
      ),
    };
  }
  getConnectableParts(height, length, side) {
    let connectableParts = [];
    switch (height.toString()) {
      case "120":
        connectableParts = [
          `MPASP${height}H${length}R1${side}`,
          `MPASP${height}H${length}R2${side}`,
          `MPASP${height}H${length}C${side}`,
          `MPASP${height}H${length}L2${side}`,
          `MPASP${height}H${length}L1${side}`,
        ];
        break;
      case "90":
        connectableParts = [
          `MPASP${height}H${length}L1${side}`,
          `MPASP${height}H${length}C${side}`,
          `MPASP${height}H${length}R2${side}`,
          `MPASP${height}H${length}R1${side}`,
        ];
        break;
      case "60":
        connectableParts = [
          `MPASP${height}H${length}R2${side}`,
          `MPASP${height}H${length}C${side}`,
          `MPASP${height}H${length}L1${side}`
        ];
    }
    return connectableParts;
  }
  spriteSheetBuilder(img, frames) {
    return new createjs.SpriteSheet({
      images: [img],

      frames: frames,

      animations: {},
    });
  }
  frameHighLight(coordinates, x = 0, y = 0) {
    let shape = new createjs.Shape();
    shape.graphics
      .beginFill(null)
      .setStrokeStyle(4)
      .beginStroke("rgba(255,192,0,1)");
    shape.graphics.moveTo(x + coordinates[0][0], y + coordinates[0][1]);
    shape.graphics.lineTo(x + coordinates[1][0], y + coordinates[1][1]);
    shape.graphics.lineTo(x + coordinates[2][0], y + coordinates[2][1]);
    shape.graphics.lineTo(x + coordinates[3][0], y + coordinates[3][1]);
    shape.graphics.lineTo(x + coordinates[0][0], y + coordinates[0][1]);
    return shape;
  }
  getRotateCords(defaultValues, mainCenter, defineCenter) {
    let xDiff = mainCenter.x - defineCenter.x;
    let yDiff = mainCenter.y - defineCenter.y;
    let coordArr = [];
    for (let point of defaultValues) {
      let x = point.x - xDiff,
        y = point.y - yDiff;
      coordArr.push(new createjs.Point(x, y));
    }
    return coordArr;
  }
  getRotateCordsSpriteCenter(point, mainCenter, defineCenter) {

    let xDiff = mainCenter.x - defineCenter.x;
    let yDiff = mainCenter.y - defineCenter.y;
    let coordArr;

    let x = point.x - xDiff,
      y = point.y - yDiff;
    coordArr = new createjs.Point(mainCenter.x - x, mainCenter.y - y);

    return coordArr;
  }
}
class availableSideForPlatform {
  platformAvailable(availableSide, parent, partName, currentHeight, parentHeight) {
    let isAvailable = true;
    let { rotateType, parentConnector } = this.getRotateType(partName);
    let parentMount = this.getSides(rotateType, parentConnector, parent).parent;
    let availableComp = availableSide;
    switch (parseInt(parentHeight)) {
      case 30:
        availableComp = [...availableComp, 4, 5, 6, 7, 8, 9];
        break;
      case 60:
        availableComp = [...availableComp, 5, 6, 8, 9];
        break;
      case 90:
        availableComp = [...availableComp, 6, 9];
        break;
    }
    for (let parentUsed of parentMount) {
      if (parseInt(currentHeight) == 60 && [5, 6, 8, 9].includes(parentUsed)) {
        continue;
      }
      if (parseInt(currentHeight) == 90 && [6, 9].includes(parentUsed)) {
        continue;
      }

      if (parent != parentUsed && availableComp.includes(parentUsed) == false) {
        isAvailable = false;
        break;
      }
    }

    return isAvailable;
  }

  getSides(rotateType, parentConnector, parent, height = 120) {
    let connectors = {
      3: {
        right1: {
          parent: [3, 7, 8],
          child: [4, 5, 6]
        },
        right: {
          parent: [3, 7, 8, 9],
          child: [1, 4, 5, 6]
        },
        left: {
          parent: [3],
          child: [6]
        },
        left1: {
          parent: [3, 7],
          child: [5, 6]
        }
      },
      7: {
        right: {
          parent: [7, 8, 9],
          child: [1, 4, 5]
        },
        right1: {
          parent: [3, 7, 8, 9],
          child: [1, 4, 5, 6]
        },
        left1: {
          parent: [3, 7, 8],
          child: [4, 5, 6]
        },
        left: {
          parent: [3, 7],
          child: [5, 6]
        }
      },
      8: {
        right: {
          parent: [8, 9],
          child: [5, 6]
        },
        right1: {
          parent: [3, 7, 8],
          child: [4, 5, 6]
        },
        left: {
          parent: [3, 4, 7],
          child: [3, 4, 5]
        },
        left1: {
          parent: [3, 7, 8, 9],
          child: [1, 4, 5, 6]
        }
      },
      9: {
        right: {
          parent: [3],
          child: [6]
        },
        right1: {
          parent: [3, 7],
          child: [1, 4]
        },
        left1: {
          parent: [3, 7, 8],
          child: [1, 4, 5
          ]
        },
        left: {
          parent: [3, 7, 8, 9],
          child: [1, 4, 5, 6]
        }
      },
      1: {
        right: {
          parent: [1],
          child: [9]
        },
        right1: {
          parent: [1, 4],
          child: [8, 9]
        },
        left1: {
          parent: [1, 4, 5],
          child: [7, 8, 9],
        },
        left: {
          parent: [1, 4, 5, 6],
          child: [3, 7, 8, 9],
        }
      },
      4: {
        right: {
          parent: [1, 4],
          child: [8, 9]
        },
        right1: {
          parent: [1, 4, 5],
          child: [7, 8, 9]
        },
        left: {
          parent: [4, 5, 6],
          child: [3, 7, 8],
        },
        left1: {
          parent: [1, 4, 5, 6],
          child: [3, 7, 8, 9],
        }
      },
      5: {
        right: {
          parent: [1, 4, 5],
          child: [7, 8, 9]
        },
        left1: {
          parent: [4, 5, 6],
          child: [3, 7, 8]
        },
        left: {
          parent: [5, 6],
          child: [3, 7],
        },
        right1: {
          parent: [1, 4, 5, 6],
          child: [3, 7, 8, 9],
        }
      },
      6: {
        right: {
          parent: [1, 4, 5, 6],
          child: [3, 7, 8, 9],
        },
        right1: {
          parent: [4, 5, 6],
          child: [3, 7, 8]
        },
        left: {
          parent: [6],
          child: [3],
        },
        left1: {
          parent: [5, 6],
          child: [3, 7],
        }
      },
      2: {
        right1: {
          parent: [2],
          child: [7]
        },
        right: {
          parent: [2],
          child: [3]
        },
        left: {
          parent: [2],
          child: [9]
        },
        left1: {
          parent: [2],
          child: [8]
        }
      }

    }
    let conn = connectors?.[parent]?.[rotateType] ?? {
      parent: [parent],
      child: [parentConnector]
    };
    switch (true) {
      case (height == 90 && parent == 1 && rotateType == "left1"):
        conn["child"] = [3, 7, 8];
        break;
      case (height == 90 && parent == 1 && rotateType == "right"):
        conn["child"] = [8];
        break;
      case (height == 90 && parent == 1 && rotateType == "right1"):
        conn["child"] = [7, 8];
        break;
      case (height == 90 && parent == 4 && rotateType == "left1"):
        conn["child"] = [3, 7, 8];
        break;
      case (height == 90 && parent == 4 && rotateType == "right"):
        conn["child"] = [7, 8];
        break;
      case (height == 90 && parent == 4 && rotateType == "right1"):
        conn["child"] = [3, 7, 8];
        break;
      case (height == 90 && parent == 5 && rotateType == "left1"):
        conn["child"] = [3, 7];
        break;
      case (height == 90 && parent == 5 && rotateType == "right"):
        conn["child"] = [3, 7, 8];
        break;
      case (height == 90 && parent == 5 && rotateType == "right1"):
        conn["child"] = [3, 7, 8];
        break;

      case (height == 90 && parent == 6 && rotateType == "left1"):
        conn["child"] = [3];
        break;
      case (height == 90 && parent == 6 && rotateType == "right"):
        conn["child"] = [3, 7, 8];
        break;
      case (height == 90 && parent == 6 && rotateType == "right1"):
        conn["child"] = [3, 7];
        break;
      case (height == 90 && parent == 0 && rotateType == "right"):
        conn["child"] = [1];
        break;
      case (height == 90 && parent == 2 && rotateType == "left1"):
        conn["child"] = [3];
        break;
      case (height == 90 && parent == 2 && rotateType == "right"):
        conn["child"] = [8];
        break;
      case (height == 90 && parent == 3 && rotateType == "left1"):
        conn["child"] = [5];
        break;
      case (height == 90 && parent == 3 && rotateType == "right"):
        conn["child"] = [1, 4, 5];
        break;
      case (height == 90 && parent == 3 && rotateType == "right1"):
        conn["child"] = [4, 5];
        break;

      case (height == 90 && parent == 7 && rotateType == "left1"):
        conn["child"] = [4, 5];
        break;
      case (height == 90 && parent == 7 && rotateType == "right"):
        conn["child"] = [1, 4, 5];
        break;
      case (height == 90 && parent == 7 && rotateType == "right1"):
        conn["child"] = [1, 4, 5];
        break;

      case (height == 90 && parent == 8 && rotateType == "left1"):
        conn["child"] = [1, 4, 5];
        break;
      case (height == 90 && parent == 8 && rotateType == "right"):
        conn["child"] = [1, 4];
        break;
      case (height == 90 && parent == 8 && rotateType == "right1"):
        conn["child"] = [1, 4, 5];
        break;

      case (height == 90 && parent == 9 && rotateType == "left1"):
        conn["child"] = [1, 4, 5];
        break;
      case (height == 90 && parent == 9 && rotateType == "right"):
        conn["child"] = [1];
        break;
      case (height == 90 && parent == 9 && rotateType == "right1"):
        conn["child"] = [1, 4];
        break;
      case (height == 60 && parent == 1 && rotateType == "right"):
        conn["child"] = [7];
        break;
      case (height == 60 && parent == 1 && rotateType == "right1"):
        conn["child"] = [3, 7];
        break;
      case (height == 60 && parent == 4 && rotateType == "right"):
        conn["child"] = [3, 7];
        break;
      case (height == 60 && parent == 4 && rotateType == "right1"):
        conn["child"] = [3, 7];
        break;
      case (height == 60 && parent == 5 && rotateType == "right"):
        conn["child"] = [3, 7];
        break;
      case (height == 60 && parent == 5 && rotateType == "right1"):
        conn["child"] = [3, 7];
        break;

      case (height == 60 && parent == 6 && rotateType == "right"):
        conn["child"] = [3, 7];
        break;
      case (height == 60 && parent == 6 && rotateType == "right1"):
        conn["child"] = [3];
        break;
      case (height == 60 && parent == 0 && rotateType == "right"):
        conn["child"] = [1];
        break;
      case (height == 60 && parent == 2 && rotateType == "right"):
        conn["child"] = [7];
        break;
      case (height == 60 && parent == 2 && rotateType == "right1"):
        conn["child"] = [3];
        break;
      case (height == 60 && parent == 3 && rotateType == "right"):
        conn["child"] = [1, 4];
        break;
      case (height == 60 && parent == 3 && rotateType == "right1"):
        conn["child"] = [4];
        break;

      case (height == 60 && parent == 7 && rotateType == "right"):
        conn["child"] = [1, 4];
        break;
      case (height == 60 && parent == 7 && rotateType == "right1"):
        conn["child"] = [1, 4];
        break;

      case (height == 60 && parent == 8 && rotateType == "right"):
        conn["child"] = [1, 4];
        break;
      case (height == 60 && parent == 8 && rotateType == "right1"):
        conn["child"] = [1, 4];
        break;

      case (height == 60 && parent == 9 && rotateType == "right"):
        conn["child"] = [1];
        break;
      case (height == 60 && parent == 9 && rotateType == "right1"):
        conn["child"] = [1, 4];
        break;
        case (height == 120 && parent == 0 && rotateType == "right"):
          conn["child"] = [1];
          break;
    }
    return conn;
  }

  getRotateType(partName) {
    let rotateType = "center";
    let parentConnector = 2;
    switch (partName) {
      case 4:
        rotateType = "right1";
        parentConnector = 4;
        break;
      case 3:
        parentConnector = 3;
        rotateType = "right";
        break;
      case 5:
        parentConnector = 5;
        rotateType = "left1";
        break;
      case 6:
        parentConnector = 6;
        rotateType = "left";
        break;
    }
    return { rotateType, parentConnector };
  }
  sideUsed(rotationTypeSelected, parent, height, parentHeight) {
    let { rotateType, parentConnector } = this.getRotateType(rotationTypeSelected);
    let conn =  this.getSides(rotateType, parentConnector, parent, height).child;
    switch (true) {
      case (parentHeight == 30 && (parent == 1 || parent == 3) ):
        conn = [conn[0]];
        break;
      case (parentHeight == 60 && conn.length>2 ):
        conn = [conn[0], conn[1]];
        break;
        case (parentHeight == 90 && conn.length>3 ):
          conn = [conn[0], conn[1], conn[3]];
          break;
    }
    return conn;
  }
}