Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class MinableRock {
- private final int id;
- private final Position position;
- private final double experience;
- private final Item item;
- public MinableRock(int id, Position position, double experience, Item item) {
- this.id = id;
- this.position = position;
- this.experience = experience;
- this.item = item;
- }
- public int getId() {
- return id;
- }
- public Position getPosition() {
- return position;
- }
- public double getExperience() {
- return experience;
- }
- public Item getItem() {
- return item;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement