Пример #1
0
        /**
         * Returns the targets in an <code>ArrayList</code>.
         * <p>
         * The ArrayList is cloned before it is returned.</p>
         *
         * @return Returns the targets.
         */
        public virtual Target[] GetTargets()
        {
            Target[] result = new Target[targets.Count];

            for (int i = 0; i < targets.Count; ++i)
            {
                result[i] = Target.GetInstance(targets[i]);
            }

            return(result);
        }