Skip to content

Gavin l #4

Merged
merged 13 commits into from
Feb 13, 2015
Merged

Gavin l #4

merged 13 commits into from
Feb 13, 2015

Conversation

john
Copy link
Collaborator

@john john commented Feb 13, 2015

No description provided.

john and others added 13 commits February 8, 2015 22:16
Made slight change to getMerchantInventory method to allow for error
detection in merchantNumber
* changed member variable name from dailyRandomPrice to
dailyRandomPercent and changed variable name in setDailyRandomPercent as
dicussed in the previous team meeting.
*Changed Merchant constructor to utilize the new ArrayLists of item
names in the RPGame class. Updated the TestMerchant class to reflect
these changes.
team meeting and changed the Merchant constructor to utilize the
ArrayList of  item names in the RPGame class. Updated TestMerchant to
reflect changes
* added an additional constructor to the Item class that allows it to be
initalized with only a name and base price, it automatically sets the
max price to be 100000 and min price to 0
*Added the a method to generate the inventory of the Merchant class
using the ArrayList in the the RPGame class as a parameter
*created search method that returns the item based off the inputted
string name. Also finished the getItemPrice method to return the
adjusted price of the item given a the name of the item
*added a method to adjust the prices for all items in the merchant's
inventory. updated TestMerchant to test the new method.
*Updated the decrementCash method to decreaseCash to better fit its use
*Updated Item, Merchant and RPGame Class, as well as TestMerchant class
Merged Gavin-L with William-C
john added a commit that referenced this pull request Feb 13, 2015
@john john merged commit a91218b into John-B Feb 13, 2015
@gal11002 gal11002 deleted the Gavin-L branch February 14, 2015 19:00
Sign in to join this conversation on GitHub.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants