From f1e40de850973da641a745881ec10929744ff98a Mon Sep 17 00:00:00 2001 From: David Hermann Date: Wed, 18 Jan 2023 18:14:45 +0100 Subject: [PATCH] Created location class --- .../java/org/bitbiome/classes/Location.java | 33 +++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 src/main/java/org/bitbiome/classes/Location.java diff --git a/src/main/java/org/bitbiome/classes/Location.java b/src/main/java/org/bitbiome/classes/Location.java new file mode 100644 index 0000000..8d608cf --- /dev/null +++ b/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 mobList; + private ArrayList itemList; + + + public Location(String name, ArrayList mobList, ArrayList itemList) { + this.name = name; + this.mobList = mobList; + this.itemList = itemList; + } + + + public String getName() { + return name; + } + + public ArrayList getMobList() { + return mobList; + } + + public ArrayList getItemList() { + return itemList; + } + + + +}