Esempio n. 1
0
    //конструктор
    static GameParam()
    {
        ScoresStorageForGame = ScoresStorageS.GetInstance();

        StackBulletForGun        = StackBulletS.GetInstance();
        StackPanzerTrackForTanks = StackPanzerTrackS.GetInstance();
    }
Esempio n. 2
0
 public static ScoresStorageS GetInstance()
 {
     if (instance == null)
     {
         instance = new ScoresStorageS();
     }
     return(instance);
 }