| | |
| | | "track": [ |
| | | {"id": "1", "unitX": 60, "unitY": 3, "anfme": 2, "background": "0x000000", "x": 125, "y": 737}, |
| | | {"id": "2", "unitX": 60, "unitY": 3, "anfme": 2, "background": "0x000000", "x": 227, "y": 737}, |
| | | {"id": "3", "unitX": 60, "unitY": 3, "anfme": 2, "background": "0x000000", "x": 125, "y": 977}, |
| | | {"id": "4", "unitX": 60, "unitY": 3, "anfme": 2, "background": "0x000000", "x": 227, "y": 977}, |
| | | {"id": "3", "unitX": 60, "unitY": 3, "anfme": 2, "background": "0x000000", "x": 125, "y": 867}, |
| | | {"id": "4", "unitX": 60, "unitY": 3, "anfme": 2, "background": "0x000000", "x": 227, "y": 867}, |
| | | |
| | | ], |
| | | "jar": [ |
| | | { "id": "1", "width": 15, "height": 15, "background": "0xb8db7c", "x": 142, "y": 733 }, |
| | | { "id": "1", "width": 15, "height": 15, "background": "0xb8db7c", "x": 142, "y": 733 }, |
| | | { "id": "1", "width": 15, "height": 15, "background": "0xb8db7c", "x": 142, "y": 733 }, |
| | | { "id": "1", "width": 15, "height": 15, "background": "0xb8db7c", "x": 142, "y": 733 }, |
| | | { "id": "1", "width": 15, "height": 110, "background": "0xa6a6a6", "x": 126, "y": 750 }, |
| | | { "id": "1", "width": 15, "height": 110, "background": "0xa6a6a6", "x": 169, "y": 750 }, |
| | | { "id": "1", "width": 15, "height": 110, "background": "0xa6a6a6", "x": 228, "y": 750 }, |
| | | { "id": "1", "width": 15, "height": 110, "background": "0xa6a6a6", "x": 270, "y": 750 }, |
| | | { "id": "1", "width": 15, "height": 108, "background": "0xea9a2b", "x": 169, "y": 881 }, |
| | | { "id": "1", "width": 15, "height": 108, "background": "0xea9a2b", "x": 270, "y": 881 }, |
| | | ], |
| | | "conveyor": [ |
| | | |
| | | { "id": "1", "title": "623", "width": 15, "height": 15, "background": "0xb8db7c", "x": 142, "y": 733 }, |
| | | { "id": "1", "title": "624", "width": 15, "height": 15, "background": "0xb8db7c", "x": 255, "y": 733 }, |
| | | { "id": "1", "title": "625", "width": 15, "height": 15, "background": "0xb8db7c", "x": 142, "y": 974 }, |
| | | { "id": "1", "title": "626", "width": 15, "height": 15, "background": "0xb8db7c", "x": 255, "y": 974 }, |
| | | { "id": "1", "title": "625", "width": 15, "height": 15, "background": "0xb8db7c", "x": 142, "y": 864 }, |
| | | { "id": "1", "title": "626", "width": 15, "height": 15, "background": "0xb8db7c", "x": 255, "y": 864 }, |
| | | |
| | | { "id": "1", "title": "652", "width": 15, "height": 58, "background": "0xb8db7c", "x": 87, "y": 129 }, |
| | | { "id": "1", "title": "651", "width": 15, "height": 58, "background": "0xb8db7c", "x": 87, "y": 188 }, |
| | |
| | | objectsContainer.addChild(rectangle); |
| | | } |
| | | } |
| | | for (let k of mapData.legend) { |
| | | for (let k of mapData.jar) { |
| | | let rectangle = new PIXI.Graphics(); |
| | | rectangle.beginFill(k.background); |
| | | rectangle.originColor = k.background; |