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

/**
 * @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;
    }

}