public void AddLandedArrow(ILandedArrow arrow)
        {
            List <ILandedArrow> resultList = new List <ILandedArrow>(thisLandedArrows);

            resultList.Add(arrow);
            thisLandedArrows = resultList.ToArray();
        }
        public void RemoveLandedArrow(ILandedArrow arrow)
        {
            List <ILandedArrow> listToReduce = new List <ILandedArrow>(thisLandedArrows);

            if (listToReduce.Contains(arrow))
            {
                listToReduce.Remove(arrow);
                thisLandedArrows = listToReduce.ToArray();
            }
        }
예제 #3
0
        public override void SetUp()
        {
            LandedArrow.IConstArg arg = new LandedArrow.ConstArg(
                this,
                thisIndex
                );
            thisLandedArrow = new LandedArrow(arg);

            thisTwangAdaptor = CollectArrowTwangAdaptor();
            thisTwangAdaptor.SetUp();
        }