Exemplo n.º 1
0
        //apply the refund ratio from gamecontrol
        public List <int> GetValue()
        {
            List <int> newValue = new List <int>();

            for (int i = 0; i < value.Count; i++)
            {
                newValue.Add((int)(value[i] * GameControl.GetSellTowerRefundRatio()));
            }
            return(newValue);
        }