Browse Source

Created location class

remotes/origin/locations
David Hermann 2 years ago
parent
commit
f1e40de850
  1. 33
      src/main/java/org/bitbiome/classes/Location.java

33
src/main/java/org/bitbiome/classes/Location.java

@ -0,0 +1,33 @@
package org.bitbiome.classes;
import java.util.ArrayList;
public class Location {
private String name;
private ArrayList<Mob> mobList;
private ArrayList<Item> itemList;
public Location(String name, ArrayList<Mob> mobList, ArrayList<Item> itemList) {
this.name = name;
this.mobList = mobList;
this.itemList = itemList;
}
public String getName() {
return name;
}
public ArrayList<Mob> getMobList() {
return mobList;
}
public ArrayList<Item> getItemList() {
return itemList;
}
}
Loading…
Cancel
Save