/// <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; }
public static Turret GetInstance() { if (_instance == null) { _instance = new Turret(); } return _instance; }