コード例 #1
0
ファイル: OptionsHolder.cs プロジェクト: Kkkkkkkevin/Shooter
 private void initVariables()
 {
     _generalOP     = new GeneralOP();//dans ce cas on peut mettre des valeurs par defaut
     _asteroidOP    = new AsteroidOP();
     _sunOP         = new SunOP();
     _patternsOP    = new PatternsOP();
     _patternsPhase = new PatternsPhase();
     _probs         = new List <float>();
 }
コード例 #2
0
ファイル: OptionsHolder.cs プロジェクト: Kkkkkkkevin/Shooter
 //switch references for all options
 public void switchDifficulty(OptionsHolder other)
 {
     Debug.Log("switchDifficulty");
     this._generalOP     = other._generalOP;
     this._asteroidOP    = other._asteroidOP;
     this._sunOP         = other._sunOP;
     this._patternsOP    = other._patternsOP;
     this._patternsPhase = other._patternsPhase;
 }