diff options
Diffstat (limited to 'src/main/java/net/tylermurphy/hideAndSeek/command/location/util/Locations.java')
-rw-r--r-- | src/main/java/net/tylermurphy/hideAndSeek/command/location/util/Locations.java | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/src/main/java/net/tylermurphy/hideAndSeek/command/location/util/Locations.java b/src/main/java/net/tylermurphy/hideAndSeek/command/location/util/Locations.java new file mode 100644 index 0000000..137bc69 --- /dev/null +++ b/src/main/java/net/tylermurphy/hideAndSeek/command/location/util/Locations.java @@ -0,0 +1,25 @@ +package net.tylermurphy.hideAndSeek.command.location.util; + +/** + * @author bobby29831 + */ +public enum Locations { + + GAME("spawns.game"), + LOBBY("spawns.lobby"), + EXIT("spawns.exit"); + + 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 |