mirror of
https://github.com/darksaid98/AlathranWars.git
synced 2026-12-02 14:38:56 +00:00
modify score spawn gather phase
This commit is contained in:
1 parent
c1f5b5cbe5
commit
c5f8d26f0b
2 files changed
+277
-2
No files matched your search
@@ -44,4 +44,24 @@ public enum RaidPhase {
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
public static RaidPhase getNext(RaidPhase phase) {
|
||||
switch (phase) {
|
||||
case START: {
|
||||
return GATHER;
|
||||
}
|
||||
case GATHER: {
|
||||
return TRAVEL;
|
||||
}
|
||||
case TRAVEL: {
|
||||
return COMBAT;
|
||||
}
|
||||
case COMBAT: {
|
||||
return END;
|
||||
}
|
||||
default: {
|
||||
return null;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user