public virtual bool AcceptTorpedoType(Torpedo.TorpedoTypes torpType)
        {
            if (!AcceptedTorpedoTypes.Contains(torpType))
                return false;

            ChargingTankInfo tank = GetTankForType(torpType);
            if (tank != null)
                return tank.Tank.Contents.CurrentCapacity > 0;

            return true;
        }
 public virtual ChargingTankInfo GetTankForType(Torpedo.TorpedoTypes torpType)
 {
     return ChargingTanks.Find(delegate(ChargingTankInfo i) { return i.TorpedoType == torpType; });
 }