GameInfo.ts 263 B

12345678910111213
  1. export class GameInfo{
  2. private static _instance:GameInfo = null;
  3. private constructor(){};
  4. static get Instance():GameInfo{
  5. if(!this._instance){
  6. this._instance = new GameInfo();
  7. }
  8. return this._instance;
  9. }
  10. }