/*
 * @Author: mojunshou 1637302775@qq.com
 * @Date: 2025-04-01 10:30:46
 * @LastEditors: mojunshou 1637302775@qq.com
 * @LastEditTime: 2025-04-01 10:38:49
 * @Description: 
 */

export default class GlobalData {

    //  ⬇️纯本地存储
    /** 方块是否可以旋转 */
    public static isRotate: boolean = true;
    /** 是否新手 */
    public static isCommer: boolean = true;
    /** 引导记录 */
    public static guideRecord: number = 1;
    /** 消除累计次数 */
    public static elimiTimes: number = 0;
    /** 实时保存的棋盘数据 */
    public static lastGameBoard: number[][] = [
        [1, 1, 0, 0, 0, 0, 1, 1],
        [1, 1, 0, 0, 0, 0, 1, 1],
        [0, 0, 0, 0, 0, 0, 0, 0],
        [0, 0, 0, 0, 0, 0, 0, 0],
        [1, 1, 1, 0, 0, 1, 1, 1],
        [0, 0, 0, 0, 0, 0, 0, 0],
        [1, 1, 0, 0, 0, 0, 1, 1],
        [1, 1, 0, 0, 0, 0, 1, 1]
    ];

    //刷新道具数量
    public static refrashPropNum: number = 1;
    /** 锤子道具数量 */
    public static hummerPropNum: number = 1;

    /** 上次的登录日期 */
    public static lastLoginDate: string = 'Tue Aug 20 2023';
    /** 历史最高分 */
    public static historyHighScore: number = 0;
    /** 今日最高分 */
    public static todayHighScore: number = 0;
    /** 当前分数 */
    public static curScore: number = 0;
    /** 分数上限 */
    public static addScoreUp: number = 10;
    /** 分数下限 */
    public static addScoreFloor: number = 5;

}


