blob: 59e15173e308e53b560c4f2781b986ebe67d5345 (
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
28
29
30
|
package net.tylermurphy.hideAndSeek.command.location.util;
/**
* @author bobby29831
*/
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;
}
}
|