Include rental fees in payday

This commit is contained in:
hydrant
2019-07-30 13:30:53 +02:00
parent b2eef3f74b
commit 60718b24b5
3 changed files with 16 additions and 4 deletions

View File

@@ -18,8 +18,9 @@ namespace ReallifeGamemode.Server.Finance
public float PropertyTaxation { get; set; } = 0;
public int Wage { get; set; } = 0;
public int Amount { get; set; } = 0;
public int RentalFees { get; set; } = 0;
public Paycheck(float FinancialHelp, float FinancialInterest, int VehicleTaxation, float PropertyTaxation, int Wage, int Amount)
public Paycheck(float FinancialHelp, float FinancialInterest, int VehicleTaxation, float PropertyTaxation, int Wage, int Amount, int RentalFees)
{
this.FinancialHelp = FinancialHelp;
this.FinancialInterest = FinancialInterest;
@@ -27,8 +28,7 @@ namespace ReallifeGamemode.Server.Finance
this.PropertyTaxation = PropertyTaxation;
this.Wage = Wage;
this.Amount = Amount;
this.RentalFees = RentalFees;
}
}
}