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

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