Permalink
Cannot retrieve contributors at this time
Name already in use
A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
2102-Group-Project-Spring-2017/src/model/DealCard.java
Go to fileThis commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
45 lines (37 sloc)
718 Bytes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package model; | |
public class DealCard extends Card | |
{ | |
private String _description; | |
private int _cost; | |
private int _downPayment; | |
private int _mortgage; | |
private int _cashFlowChange; | |
public DealCard(String title, String description, int cost, int downPayment, int mortgage, int cashFlowChange) | |
{ | |
super(title); | |
_cost = cost; | |
_downPayment = downPayment; | |
_mortgage = mortgage; | |
_cashFlowChange = cashFlowChange; | |
} | |
public String getDescription() | |
{ | |
return _description; | |
} | |
public int getCost() | |
{ | |
return _cost; | |
} | |
public int getDownPayment() | |
{ | |
return _downPayment; | |
} | |
public int getMortgage() | |
{ | |
return _mortgage; | |
} | |
public int getCashFlowChange() | |
{ | |
return _cashFlowChange; | |
} | |
} |