blob: bde545688cadf10e04957565f18348dd06286463 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
package net.tylermurphy.hideAndSeek.command.location.util;
public enum Locations {
GAME("spawns.game", "GAME_SPAWN"),
LOBBY("spawns.lobby", "LOBBY_SPAWN"),
EXIT("spawns.exit", "EXIT_SPAWN");
private final String path, message;
Locations(String path, String message) {
this.path = path;
this.message = message;
}
public String message() {
return message;
}
public String path() {
return path;
}
public String path(String additive) {
return path + "." + additive;
}
}
|