diff options
author | tylermurphy534 <tylermurphy534@gmail.com> | 2022-11-02 07:18:00 -0400 |
---|---|---|
committer | tylermurphy534 <tylermurphy534@gmail.com> | 2022-11-02 07:18:00 -0400 |
commit | bb254145ed0bb56d0482f6ba34e05cb728a7c8cc (patch) | |
tree | 9e2c645f417a1a1d77855e068b213fe4369fd056 /src/main/java/net/tylermurphy/hideAndSeek/command/location/Locations.java | |
parent | 1.7.0 beta 1 (diff) | |
download | kenshinshideandseek-bb254145ed0bb56d0482f6ba34e05cb728a7c8cc.tar.gz kenshinshideandseek-bb254145ed0bb56d0482f6ba34e05cb728a7c8cc.tar.bz2 kenshinshideandseek-bb254145ed0bb56d0482f6ba34e05cb728a7c8cc.zip |
1.7.0 beta 2
Diffstat (limited to 'src/main/java/net/tylermurphy/hideAndSeek/command/location/Locations.java')
-rw-r--r-- | src/main/java/net/tylermurphy/hideAndSeek/command/location/Locations.java | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/src/main/java/net/tylermurphy/hideAndSeek/command/location/Locations.java b/src/main/java/net/tylermurphy/hideAndSeek/command/location/Locations.java new file mode 100644 index 0000000..dd73dac --- /dev/null +++ b/src/main/java/net/tylermurphy/hideAndSeek/command/location/Locations.java @@ -0,0 +1,26 @@ +package net.tylermurphy.hideAndSeek.command.location; + +/** + * @author bobby29831 + */ +public enum Locations { + + GAME("spawns.game"), + LOBBY("spawns.lobby"), + EXIT("spawns.exit"), + SEEKER("spawns.seeker"); + + private final String path; + Locations(String path) { + this.path = path; + } + + public String message() { + return this + "_SPAWN"; + } + + public String path(String additive) { + return path + "." + additive; + } + +}
\ No newline at end of file |