diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2016-05-19 17:11:36 +0200 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2016-05-19 17:11:36 +0200 |
commit | be4ffaaca55f3377be7d0f2fea4ae0d265a9b5ea (patch) | |
tree | f2539065811b8078b77b0e7c8d41196a8ecf9de3 /core/src/ch | |
parent | 3042c3b18caadb262cdfd1dda2a8690b3c8dad11 (diff) | |
download | RustAndDust-be4ffaaca55f3377be7d0f2fea4ae0d265a9b5ea.zip RustAndDust-be4ffaaca55f3377be7d0f2fea4ae0d265a9b5ea.tar.gz |
Config: reorder GameMode
Diffstat (limited to 'core/src/ch')
-rw-r--r-- | core/src/ch/asynk/rustanddust/game/Config.java | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/core/src/ch/asynk/rustanddust/game/Config.java b/core/src/ch/asynk/rustanddust/game/Config.java index af1e17a..239b03d 100644 --- a/core/src/ch/asynk/rustanddust/game/Config.java +++ b/core/src/ch/asynk/rustanddust/game/Config.java @@ -53,8 +53,8 @@ public class Config public enum GameMode { SOLO("Solo", 0), - PVE("Player vs AI", 1), - PVP("Player vs Player", 2); + PVP("Player vs Player", 1), + PVE("Player vs AI", 2); public String s; public int i; GameMode(String s, int i) @@ -65,9 +65,9 @@ public class Config public GameMode next() { if (this == SOLO) - return PVE; - if (this == PVE) return PVP; + if (this == PVP) + return PVE; return SOLO; } public static GameMode from(int i) |