Skip to content

Commit

Permalink
Committing updated version of my branch which now includes files from…
Browse files Browse the repository at this point in the history
… the master.
  • Loading branch information
john committed Apr 11, 2015
1 parent 39793b2 commit 11f465d
Showing 1 changed file with 6 additions and 8 deletions.
14 changes: 6 additions & 8 deletions MerchantRPGCSE2102/src/controller/RPGame.java
Original file line number Diff line number Diff line change
Expand Up @@ -275,8 +275,7 @@ public static void main(String[] args) throws InterruptedException
ArrayList<String> playerInventory = _rpg.getMerchantInventoryList(1);
playerInventory.addAll(_rpg.getMerchantInventoryList(2));
playerInventory.addAll(_rpg.getMerchantInventoryList(3));
_rpg.buildPlayer("test", 500, playerInventory);
<<<<<<< HEAD
_rpg.buildPlayer("test", 500, playerInventory);
_rpg.getPlayer().getItem("armor").increaseQuantity(15);


Expand Down Expand Up @@ -311,17 +310,16 @@ public static void main(String[] args) throws InterruptedException
frame.setResizable(false);
frame.setVisible(true);
frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
frame.setLocationRelativeTo(null);
frame.setLocationRelativeTo(null);
_rpg.getPlayer().getItem("WoodPlanks").increaseQuantity(15);


// MAIN GAME LOOP
while (true) {
mapui.move();
mapui.repaint();
Thread.sleep(100/12); // Controls the speed of the game (currently 120 frames/second)
}
=======
_rpg.getPlayer().getItem("WoodPlanks").increaseQuantity(15);
_rpg.createTransaction(_rpg.getPlayer(), _rpg.getMerchant(3));
>>>>>>> ab3b505559eadb3b59b74c449dcbbe17d32e2197
}

}
}

0 comments on commit 11f465d

Please sign in to comment.