Advertisement
Guest User

Untitled

a guest
Jun 12th, 2017
67
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.56 KB | None | 0 0
  1. public class MinableRock {
  2.  
  3. private final int id;
  4.  
  5. private final Position position;
  6.  
  7. private final double experience;
  8.  
  9. private final Item item;
  10.  
  11. public MinableRock(int id, Position position, double experience, Item item) {
  12. this.id = id;
  13. this.position = position;
  14. this.experience = experience;
  15. this.item = item;
  16. }
  17.  
  18. public int getId() {
  19. return id;
  20. }
  21.  
  22. public Position getPosition() {
  23. return position;
  24. }
  25.  
  26. public double getExperience() {
  27. return experience;
  28. }
  29.  
  30. public Item getItem() {
  31. return item;
  32. }
  33.  
  34. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement