Advertisement
Guest User

Untitled

a guest
Jun 23rd, 2017
55
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.36 KB | None | 0 0
  1. public class InventoryItem {
  2.     private final int itemId;
  3.     private final Bitmap itemIcon;
  4.     public InventoryItem(int itemId, Bitmap itemIcon) {
  5.         this.itemId = itemId;
  6.         this.itemIcon = itemIcon;
  7.     }
  8.  
  9.     public int getId() {
  10.         return this.itemId;
  11.     }
  12.  
  13.     public Bitmap getIcon() {
  14.         return this.itemIcon;
  15.     }
  16. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement