Exemplo n.º 1
0
        //returns the monthly payment for the loan

        public double getMonthlyPayment()
        {
            double basePayment = MathHelpers.GetMonthlyPayment(this.Amount, this.Rate, this.Length);

            return(basePayment * GameObject.GetInstance().Difficulty.LoanLevel);
        }