From d032830cf97618f1fba2fc8b83c2a74a2b6d875b Mon Sep 17 00:00:00 2001 From: Willem Date: Wed, 23 Feb 2022 21:01:53 +0100 Subject: [PATCH] Added attributes to warp sea --- .../warpme/sea/WaterSea.java | 18 ++++++++++++++++++ .../META-INF/warp-sea/warp-sea-lang.eld | 6 +++++- .../warpme/sea/WaterOceanDriverTest.java | 2 ++ 3 files changed, 25 insertions(+), 1 deletion(-) diff --git a/lib-warpme/src/main/love/distributedrebirth/warpme/sea/WaterSea.java b/lib-warpme/src/main/love/distributedrebirth/warpme/sea/WaterSea.java index ed175283..a2a804cd 100644 --- a/lib-warpme/src/main/love/distributedrebirth/warpme/sea/WaterSea.java +++ b/lib-warpme/src/main/love/distributedrebirth/warpme/sea/WaterSea.java @@ -9,6 +9,8 @@ import love.distributedrebirth.bassboonyd.BãßBȍőnAuthorInfoʸᴰ; public class WaterSea { private String name; + private String author; + private String provider; private List seaChains = new ArrayList<>(); private List seaMagics = new ArrayList<>(); @@ -20,6 +22,22 @@ public class WaterSea { this.name = name; } + public String getAuthor() { + return author; + } + + public void setAuthor(String author) { + this.author = author; + } + + public String getProvider() { + return provider; + } + + public void setProvider(String provider) { + this.provider = provider; + } + public List getSeaChains() { return seaChains; } diff --git a/lib-warpme/src/resources/META-INF/warp-sea/warp-sea-lang.eld b/lib-warpme/src/resources/META-INF/warp-sea/warp-sea-lang.eld index 66007769..c4647bc9 100644 --- a/lib-warpme/src/resources/META-INF/warp-sea/warp-sea-lang.eld +++ b/lib-warpme/src/resources/META-INF/warp-sea/warp-sea-lang.eld @@ -37,7 +37,11 @@ description="Language namespace to store warp sea" name="WarpSea Language Namespace" id="link"> + objectClass="love.distributedrebirth.warpme.sea.WaterSea"> + + + +