Commit d811d190 authored by lujinlei's avatar lujinlei

-a

parent 400814d2
This diff is collapsed.
This diff is collapsed.
...@@ -10,7 +10,6 @@ ...@@ -10,7 +10,6 @@
function getTextureByName(name) { function getTextureByName(name) {
return getTexture(engine.getAssetByName(name).uuid); return getTexture(engine.getAssetByName(name).uuid);
} }
//# sourceMappingURL=utils.js.map
var props = {}; var props = {};
function prepareProps() { function prepareProps() {
...@@ -20,7 +19,6 @@ ...@@ -20,7 +19,6 @@
function injectProps(p) { function injectProps(p) {
engine.injectProp(props, p); engine.injectProp(props, p);
} }
//# sourceMappingURL=props.js.map
var Turntable = (function (_super) { var Turntable = (function (_super) {
tslib.__extends(Turntable, _super); tslib.__extends(Turntable, _super);
...@@ -81,7 +79,7 @@ ...@@ -81,7 +79,7 @@
var titleLabel = new engine.Label(); var titleLabel = new engine.Label();
titleLabel.fillColor = props.prizeName_color; titleLabel.fillColor = props.prizeName_color;
titleLabel.size = props.prizeName_size; titleLabel.size = props.prizeName_size;
titleLabel.width = unchecked.width; titleLabel.width = tmpNode.width;
titleLabel.textAlign = engine.TEXT_ALIGN.CENTER; titleLabel.textAlign = engine.TEXT_ALIGN.CENTER;
titleLabel.x = 0; titleLabel.x = 0;
titleLabel.y = props.prizeName_Ypos; titleLabel.y = props.prizeName_Ypos;
...@@ -216,7 +214,6 @@ ...@@ -216,7 +214,6 @@
}; };
return Turntable; return Turntable;
}(engine.Container)); }(engine.Container));
//# sourceMappingURL=turntable.js.map
var GameView = (function (_super) { var GameView = (function (_super) {
tslib.__extends(GameView, _super); tslib.__extends(GameView, _super);
...@@ -248,7 +245,6 @@ ...@@ -248,7 +245,6 @@
}; };
return GameView; return GameView;
}(engine.Container)); }(engine.Container));
//# sourceMappingURL=GameView.js.map
var GameWrapper = (function (_super) { var GameWrapper = (function (_super) {
tslib.__extends(GameWrapper, _super); tslib.__extends(GameWrapper, _super);
...@@ -282,7 +278,6 @@ ...@@ -282,7 +278,6 @@
}; };
return GameWrapper; return GameWrapper;
}(engine.Container)); }(engine.Container));
//# sourceMappingURL=GameWrapper.js.map
function index (props) { function index (props) {
prepareProps(); prepareProps();
...@@ -290,7 +285,6 @@ ...@@ -290,7 +285,6 @@
var instance = new GameWrapper(); var instance = new GameWrapper();
return instance; return instance;
} }
//# sourceMappingURL=index.js.map
return index; return index;
......
...@@ -72,7 +72,7 @@ export class Turntable extends engine.Container{ ...@@ -72,7 +72,7 @@ export class Turntable extends engine.Container{
let titleLabel = new engine.Label(); let titleLabel = new engine.Label();
titleLabel.fillColor = props.prizeName_color; titleLabel.fillColor = props.prizeName_color;
titleLabel.size = props.prizeName_size; titleLabel.size = props.prizeName_size;
titleLabel.width = unchecked.width; titleLabel.width = tmpNode.width;
titleLabel.textAlign = engine.TEXT_ALIGN.CENTER; titleLabel.textAlign = engine.TEXT_ALIGN.CENTER;
titleLabel.x = 0; titleLabel.x = 0;
titleLabel.y = props.prizeName_Ypos; titleLabel.y = props.prizeName_Ypos;
......
...@@ -18,6 +18,7 @@ ...@@ -18,6 +18,7 @@
inst.source = 'asset://' + engine.getAssetByName(name).uuid; inst.source = 'asset://' + engine.getAssetByName(name).uuid;
return inst; return inst;
} }
//# sourceMappingURL=utils.js.map
var props = {}; var props = {};
function prepareProps() { function prepareProps() {
...@@ -27,6 +28,7 @@ ...@@ -27,6 +28,7 @@
function injectProps(p) { function injectProps(p) {
engine.injectProp(props, p); engine.injectProp(props, p);
} }
//# sourceMappingURL=props.js.map
var Conveyor = (function (_super) { var Conveyor = (function (_super) {
tslib.__extends(Conveyor, _super); tslib.__extends(Conveyor, _super);
...@@ -62,6 +64,7 @@ ...@@ -62,6 +64,7 @@
}; };
return Conveyor; return Conveyor;
}(engine.Sprite)); }(engine.Sprite));
//# sourceMappingURL=Conveyor.js.map
var GarbageTypes; var GarbageTypes;
(function (GarbageTypes) { (function (GarbageTypes) {
...@@ -70,6 +73,7 @@ ...@@ -70,6 +73,7 @@
GarbageTypes["wetWaste"] = "wetWaste"; GarbageTypes["wetWaste"] = "wetWaste";
GarbageTypes["dryWaste"] = "dryWaste"; GarbageTypes["dryWaste"] = "dryWaste";
})(GarbageTypes || (GarbageTypes = {})); })(GarbageTypes || (GarbageTypes = {}));
//# sourceMappingURL=GarbageTypes.js.map
var GarbageConfig = (function () { var GarbageConfig = (function () {
function GarbageConfig() { function GarbageConfig() {
...@@ -92,7 +96,7 @@ ...@@ -92,7 +96,7 @@
{ name: "锅具", source: "g15", type: GarbageTypes.recoverableWaste, width: 119, height: 149 }, { name: "锅具", source: "g15", type: GarbageTypes.recoverableWaste, width: 119, height: 149 },
{ name: "果核", source: "g16", type: GarbageTypes.wetWaste, width: 99, height: 95 }, { name: "果核", source: "g16", type: GarbageTypes.wetWaste, width: 99, height: 95 },
{ name: "果皮", source: "g17", type: GarbageTypes.wetWaste, width: 115, height: 127 }, { name: "果皮", source: "g17", type: GarbageTypes.wetWaste, width: 115, height: 127 },
{ name: "化妆品", source: "g18", type: GarbageTypes.harmfulWaste, width: 67, height: 151 }, { name: "化妆品", source: "g18", type: GarbageTypes.dryWaste, width: 67, height: 151 },
{ name: "鸡蛋壳", source: "g19", type: GarbageTypes.wetWaste, width: 99, height: 107 }, { name: "鸡蛋壳", source: "g19", type: GarbageTypes.wetWaste, width: 99, height: 107 },
{ name: "剪刀", source: "g20", type: GarbageTypes.recoverableWaste, width: 96, height: 127 }, { name: "剪刀", source: "g20", type: GarbageTypes.recoverableWaste, width: 96, height: 127 },
{ name: "胶带", source: "g21", type: GarbageTypes.dryWaste, width: 87, height: 113 }, { name: "胶带", source: "g21", type: GarbageTypes.dryWaste, width: 87, height: 113 },
...@@ -128,6 +132,7 @@ ...@@ -128,6 +132,7 @@
]; ];
return GarbageConfig; return GarbageConfig;
}()); }());
//# sourceMappingURL=GarbageConfig.js.map
var transStores = (function (list) { var transStores = (function (list) {
var tmp = []; var tmp = [];
...@@ -182,11 +187,12 @@ ...@@ -182,11 +187,12 @@
case GarbageTypes.harmfulWaste: case GarbageTypes.harmfulWaste:
return '有害垃圾'; return '有害垃圾';
case GarbageTypes.wetWaste: case GarbageTypes.wetWaste:
return '湿垃圾'; return '厨余垃圾';
case GarbageTypes.dryWaste: case GarbageTypes.dryWaste:
return '其他垃圾'; return '其他垃圾';
} }
}; };
//# sourceMappingURL=transStores.js.map
var checkHit = (function (view, rect) { var checkHit = (function (view, rect) {
var x = view.x, y = view.y; var x = view.x, y = view.y;
...@@ -196,12 +202,14 @@ ...@@ -196,12 +202,14 @@
} }
return false; return false;
}); });
//# sourceMappingURL=checkHit.js.map
var removeChild = (function (d) { var removeChild = (function (d) {
if (d && d.parent) { if (d && d.parent) {
d.parent.removeChild(d); d.parent.removeChild(d);
} }
}); });
//# sourceMappingURL=removeChild.js.map
var removeEle = (function (e, arr) { var removeEle = (function (e, arr) {
var index = arr.indexOf(e); var index = arr.indexOf(e);
...@@ -209,6 +217,7 @@ ...@@ -209,6 +217,7 @@
arr.splice(index, 1); arr.splice(index, 1);
} }
}); });
//# sourceMappingURL=removeEle.js.map
var shuffle = (function (arr) { var shuffle = (function (arr) {
var _a; var _a;
...@@ -219,6 +228,7 @@ ...@@ -219,6 +228,7 @@
} }
return arr; return arr;
}); });
//# sourceMappingURL=shuffle.js.map
var WrongTips = (function (_super) { var WrongTips = (function (_super) {
tslib.__extends(WrongTips, _super); tslib.__extends(WrongTips, _super);
...@@ -263,6 +273,7 @@ ...@@ -263,6 +273,7 @@
return gameview.recoverableWaste; return gameview.recoverableWaste;
} }
}; };
//# sourceMappingURL=WrongTips.js.map
var Conveyors = (function (_super) { var Conveyors = (function (_super) {
tslib.__extends(Conveyors, _super); tslib.__extends(Conveyors, _super);
...@@ -532,6 +543,7 @@ ...@@ -532,6 +543,7 @@
}; };
return Conveyors; return Conveyors;
}(engine.Sprite)); }(engine.Sprite));
//# sourceMappingURL=Conveyors.js.map
var uiConfig = (function () { var uiConfig = (function () {
return [ return [
...@@ -583,6 +595,7 @@ ...@@ -583,6 +595,7 @@
}, },
]; ];
}); });
//# sourceMappingURL=uiConfig.js.map
var setGuide = function () { var setGuide = function () {
try { try {
...@@ -594,6 +607,7 @@ ...@@ -594,6 +607,7 @@
console.log("setguide--err", e); console.log("setguide--err", e);
} }
}; };
//# sourceMappingURL=getGuideInfo.js.map
var createBg = (function (a) { var createBg = (function (a) {
if (a === void 0) { a = 1; } if (a === void 0) { a = 1; }
...@@ -604,10 +618,12 @@ ...@@ -604,10 +618,12 @@
rect.alpha = a; rect.alpha = a;
return rect; return rect;
}); });
//# sourceMappingURL=createBg.js.map
var createImg = (function (texture) { var createImg = (function (texture) {
return new engine.Sprite(getTextureByName(texture)); return new engine.Sprite(getTextureByName(texture));
}); });
//# sourceMappingURL=createImg.js.map
var CountDownGroup = (function (_super) { var CountDownGroup = (function (_super) {
tslib.__extends(CountDownGroup, _super); tslib.__extends(CountDownGroup, _super);
...@@ -691,6 +707,7 @@ ...@@ -691,6 +707,7 @@
}; };
return CountDownGroup; return CountDownGroup;
}(engine.Sprite)); }(engine.Sprite));
//# sourceMappingURL=CountDownGroup.js.map
var GuideView = (function (_super) { var GuideView = (function (_super) {
tslib.__extends(GuideView, _super); tslib.__extends(GuideView, _super);
...@@ -775,6 +792,7 @@ ...@@ -775,6 +792,7 @@
}; };
return GuideView; return GuideView;
}(engine.Sprite)); }(engine.Sprite));
//# sourceMappingURL=guideView.js.map
var RightTips = (function (_super) { var RightTips = (function (_super) {
tslib.__extends(RightTips, _super); tslib.__extends(RightTips, _super);
...@@ -813,6 +831,7 @@ ...@@ -813,6 +831,7 @@
}; };
return RightTips; return RightTips;
}(engine.Sprite)); }(engine.Sprite));
//# sourceMappingURL=RightTips.js.map
var GameView = (function (_super) { var GameView = (function (_super) {
tslib.__extends(GameView, _super); tslib.__extends(GameView, _super);
...@@ -974,6 +993,7 @@ ...@@ -974,6 +993,7 @@
}; };
return GameView; return GameView;
}(engine.Container)); }(engine.Container));
//# sourceMappingURL=GameView.js.map
var GameWrapper = (function (_super) { var GameWrapper = (function (_super) {
tslib.__extends(GameWrapper, _super); tslib.__extends(GameWrapper, _super);
...@@ -998,6 +1018,7 @@ ...@@ -998,6 +1018,7 @@
}; };
return GameWrapper; return GameWrapper;
}(engine.Container)); }(engine.Container));
//# sourceMappingURL=GameWrapper.js.map
function index (props) { function index (props) {
prepareProps(); prepareProps();
...@@ -1005,6 +1026,7 @@ ...@@ -1005,6 +1026,7 @@
var instance = new GameWrapper(); var instance = new GameWrapper();
return instance; return instance;
} }
//# sourceMappingURL=index.js.map
return index; return index;
......
This source diff could not be displayed because it is too large. You can view the blob instead.
...@@ -18,7 +18,7 @@ export default class GarbageConfig { ...@@ -18,7 +18,7 @@ export default class GarbageConfig {
{ name: "锅具", source: "g15", type: GarbageTypes.recoverableWaste, width: 119, height: 149 }, { name: "锅具", source: "g15", type: GarbageTypes.recoverableWaste, width: 119, height: 149 },
{ name: "果核", source: "g16", type: GarbageTypes.wetWaste, width: 99, height: 95 }, { name: "果核", source: "g16", type: GarbageTypes.wetWaste, width: 99, height: 95 },
{ name: "果皮", source: "g17", type: GarbageTypes.wetWaste, width: 115, height: 127 }, { name: "果皮", source: "g17", type: GarbageTypes.wetWaste, width: 115, height: 127 },
{ name: "化妆品", source: "g18", type: GarbageTypes.harmfulWaste, width: 67, height: 151 }, { name: "化妆品", source: "g18", type: GarbageTypes. dryWaste, width: 67, height: 151 },
{ name: "鸡蛋壳", source: "g19", type: GarbageTypes.wetWaste, width: 99, height: 107 }, { name: "鸡蛋壳", source: "g19", type: GarbageTypes.wetWaste, width: 99, height: 107 },
{ name: "剪刀", source: "g20", type: GarbageTypes.recoverableWaste, width: 96, height: 127 }, { name: "剪刀", source: "g20", type: GarbageTypes.recoverableWaste, width: 96, height: 127 },
{ name: "胶带", source: "g21", type: GarbageTypes.dryWaste, width: 87, height: 113 }, { name: "胶带", source: "g21", type: GarbageTypes.dryWaste, width: 87, height: 113 },
......
...@@ -68,7 +68,7 @@ const getTargetName = (type: GarbageTypes) => { ...@@ -68,7 +68,7 @@ const getTargetName = (type: GarbageTypes) => {
break; break;
case GarbageTypes.wetWaste: case GarbageTypes.wetWaste:
return '湿垃圾' return '厨余垃圾'
break; break;
case GarbageTypes.dryWaste: case GarbageTypes.dryWaste:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment