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

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