//конструктор static GameParam() { ScoresStorageForGame = ScoresStorageS.GetInstance(); StackBulletForGun = StackBulletS.GetInstance(); StackPanzerTrackForTanks = StackPanzerTrackS.GetInstance(); }
public static StackBulletS GetInstance() { if (instance == null) { instance = new StackBulletS(); } return(instance); }