summaryrefslogtreewikicommitdiff
path: root/src/main/java/net/tylermurphy/hideAndSeek/command/location/Locations.java
blob: dd73dac08d0c3c15e3c06bfd3d2ceef46754b0f8 (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
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;
    }

}