
cc.Class({
    extends: cc.Component,

    properties: {
        score: cc.Label
    },

    init (game) {
        this.game = game;
    },

    show () {
        this.node.active = true;
        this.getComponent(cc.Animation).play();
        this.score.string = this.game.inGameUI.score;
    },

    hide () {
        this.node.active = false;
        this.node.y = 700;
    },

    start () {

    },

    // update (dt) {},
});
