Advertisement
m1o2

Untitled

Sep 15th, 2012
39
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.46 KB | None | 0 0
  1. package gui;
  2.  
  3. import core.Item;
  4.  
  5. class ItemQuantity{
  6.  
  7. private Item item;
  8. private int quantity;
  9.  
  10. public ItemQuantity(Item item, int quantity) {
  11.  
  12. this.item = item;
  13. this.quantity = quantity;
  14. }
  15. public Item getItem() {
  16. return item;
  17. }
  18. public void setItem(Item item) {
  19. this.item = item;
  20. }
  21. public int getQuantity() {
  22. return quantity;
  23. }
  24. public void setQuantity(int quantity) {
  25. this.quantity = quantity;
  26. }
  27. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement