예제 #1
0
파일: BoatLoan.cpp 프로젝트: kbarlock/lab3
	BoatLoan::BoatLoan(int newLootMax, int numCan, string newName){

		//initialize boat loan
		setMaxLootStorage(newLootMax);
		setNumOfCannons(numCan);
		setBoatName(newName);

	}
예제 #2
0
BoatLoan::BoatLoan(int bal, int paySched, int pirRate, int newLootMax, int numCan, string newName, int payment) : BankAccount(bal, paySched, pirRate) {

    //initialize boat loan
    setMaxLootStorage(newLootMax);
    setNumOfCannons(numCan);
    setBoatName(newName);
    //setPayment(payment);
    Payment = payment;

}