Esempio n. 1
0
        /// <summary>
        /// actualy disposal method
        /// </summary>
        /// <param name="dispose_others"></param>
        protected virtual void Dispose(bool dispose_others)
        {
            if (dispose_others == true)
            {
                USB.Dispose();

            }
            _instance = null;
        }
Esempio n. 2
0
 public static Turret GetInstance()
 {
     if (_instance == null)
     {
         _instance = new Turret();
     }
     return _instance;
 }