mirror of
https://github.com/michaelrausch/Party-Parrots-At-Sea.git
synced 2026-05-09 06:18:44 +00:00
Minor fixes. Only one person can have wind walker now. Tokens spawn at 30s rather than 15
#story[1293]
This commit is contained in:
@@ -360,7 +360,7 @@ public class GameState implements Runnable {
|
|||||||
private void spawnNewToken() {
|
private void spawnNewToken() {
|
||||||
tokensInPlay.clear();
|
tokensInPlay.clear();
|
||||||
Token token = randomSpawn.getRandomTokenLocation();
|
Token token = randomSpawn.getRandomTokenLocation();
|
||||||
token.assignType(TokenType.WIND_WALKER);
|
// token.assignType(TokenType.WIND_WALKER);
|
||||||
logger.debug("Spawned token of type " + token.getTokenType());
|
logger.debug("Spawned token of type " + token.getTokenType());
|
||||||
tokensInPlay.add(token);
|
tokensInPlay.add(token);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -9,7 +9,7 @@ public enum TokenType {
|
|||||||
BOOST(0, "Boost", 10_000),
|
BOOST(0, "Boost", 10_000),
|
||||||
HANDLING(1, "Handling", 10_000),
|
HANDLING(1, "Handling", 10_000),
|
||||||
BUMPER(2, "Bumper", 10_000),
|
BUMPER(2, "Bumper", 10_000),
|
||||||
WIND_WALKER(3, "Wind Walker", 30_000),
|
WIND_WALKER(3, "Wind Walker", 10_000),
|
||||||
RANDOM(4, "Random", 10_000);
|
RANDOM(4, "Random", 10_000);
|
||||||
|
|
||||||
private int value;
|
private int value;
|
||||||
|
|||||||
Reference in New Issue
Block a user