Skip to content

Commit

Permalink
Updated RPGame
Browse files Browse the repository at this point in the history
  • Loading branch information
Gavin Li committed Feb 21, 2015
1 parent 39e35d6 commit 8c1d35a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions MerchantRPGCSE2102/src/controller/RPGame.java
Original file line number Diff line number Diff line change
Expand Up @@ -103,12 +103,14 @@ public ArrayList<String> getPlayerInventoryList() {

/**
* This method will create a new instance of Transaction
* incomplete method
*
* @param player
* @param targetMerchant The merchant that the player is trading with
*/
public void createTransaction(Player player, Merchant targetMerchant)
{
toggleMovement("OFF");
Transaction newTransaction = new Transaction(player, targetMerchant);
newTransaction.runTransaction();
}
Expand Down

0 comments on commit 8c1d35a

Please sign in to comment.