From a9f0ec154b29d75976d1342b74af6cba23550039 Mon Sep 17 00:00:00 2001 From: David Hermann Date: Wed, 18 Jan 2023 19:32:55 +0100 Subject: [PATCH] Added createBeach method to createLocations class --- src/main/java/org/bitbiome/classes/CreateLocations.java | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/main/java/org/bitbiome/classes/CreateLocations.java b/src/main/java/org/bitbiome/classes/CreateLocations.java index 5223fdf..ed237a1 100644 --- a/src/main/java/org/bitbiome/classes/CreateLocations.java +++ b/src/main/java/org/bitbiome/classes/CreateLocations.java @@ -14,4 +14,11 @@ public class CreateLocations { String name = "Wald"; return new Location(name, mobs, items); } + + public static Location createBeach() { + ArrayList items = new ArrayList<>(); + ArrayList mobs = new ArrayList<>(); + String name = "Strand"; + return new Location(name, mobs, items); + } }