let gameConfig = require("GameConfig");
cc.Class({
    extends: cc.Component,
    properties: {
        topHole: {
            default: null,
            type: cc.Node,
            serializable: true,
        },
        leftHole: {
            default: null,
            type: cc.Node,
            serializable: true,
        },
        rightHole: {
            default: null,
            type: cc.Node,
            serializable: true,
        },
    },
    onLoad () {
        this.currentTime = gameConfig.roundTime;
        this.currentLv = 0;

        //progress
        this.default=0;
        this.playing=1;
        this.finished=2;
        this.curretState = this.default;

        this.appearMouseArr = [];
        this.hiddenMouseArr = [this.topHole,this.leftHole,this.rightHole];

        this.playerScore = [0,0];
    },
});
