(function() {"use strict";var __module = CC_EDITOR ? module : {exports:{}};var __filename = 'preview-scripts/assets/demo/FangZhi/3.js';var __require = CC_EDITOR ? function (request) {return cc.require(request, require);} : function (request) {return cc.require(request, __filename);};function __define (exports, require, module) {"use strict";
cc._RF.push(module, 'd55f0WU0IxNv4Sl+NOgYEUf', '3', __filename);
// demo/FangZhi/3.js

"use strict";

cc.Class({
    extends: cc.Component,

    properties: {
        alchemy: cc.Node,
        gold: cc.Label
    },

    onLoad: function onLoad() {},

    click: function click() {
        var rate = require("data_3").alchemyFurnace[0];
        this.gold.string = parseInt(this.gold.string) + 1 * rate;
        var actionBy = cc.scaleTo(0.1, 1.5);
        var actionBy2 = cc.scaleTo(0.1, 1);
        var action = cc.sequence(actionBy, actionBy2);
        this.gold.node.runAction(action);
    }
});

cc._RF.pop();
        }
        if (CC_EDITOR) {
            __define(__module.exports, __require, __module);
        }
        else {
            cc.registerModuleFunc(__filename, function () {
                __define(__module.exports, __require, __module);
            });
        }
        })();
        //# sourceMappingURL=3.js.map
        