cc.Class({
    extends: cc.Component,

    properties: {
        coin:cc.Label,
        button: cc.Button,
    },
    onLoad: function () {
   //     this.button.node.on('click', this.callback, this);
    },
    // called every frame
    update: function (dt) {
       this.coin.string = Storage.GetCoin();
    },  
    // callback: function (event) {
    //     Audio.playeffect('resources/audio/sound_click.mp3');
    //     cc.find('Canvas/Store').active = true;
    // }

});
