コード例 #1
0
 public static AdvancedAlgorythm Instance(Player player)
 {
     if (_instance == null)
     {
         _instance = new AdvancedAlgorythm(player);
     }
     return(_instance);
 }
コード例 #2
0
 public void SetNormLevel()
 {
     _timer.Tick -= _algo.OnTimer;
     _algo        = AdvancedAlgorythm.Instance(this);
     _timer.Tick += _algo.OnTimer;
 }