import { FrameJson } from "../const/GameInterface"; export default class FrameJsonCfg{ private static _Json:FrameJson; static get Json():FrameJson{ return this._Json; } static setJson(json){ this._Json = json; } static getScaleList(bundle:string,Atlas:string,Name:string){ if(this._Json[bundle]){ if(this._Json[bundle][Atlas]){ if(this._Json[bundle][Atlas][Name]){ return this._Json[bundle][Atlas][Name] } } } return null; } }