develop-turtleGame #6
@@ -122,7 +122,7 @@ class TurtleGame extends StatelessGame {
|
|||||||
this.snacks.remove(snack);
|
this.snacks.remove(snack);
|
||||||
snack.remove();
|
snack.remove();
|
||||||
this.turtlePlayerMap.get(p).increaseScore();
|
this.turtlePlayerMap.get(p).increaseScore();
|
||||||
this.turtlePlayerMap.get(p).increaseBoostChargeLevel(0.02f);
|
this.turtlePlayerMap.get(p).increaseBoostChargeLevel(0.04f);
|
||||||
}
|
}
|
||||||
|
|
||||||
protected void explode(Player p, Entity bomb) {
|
protected void explode(Player p, Entity bomb) {
|
||||||
|
@@ -27,7 +27,7 @@ public class TurtleGameFactory implements GameFactory {
|
|||||||
public ConfigManager configuration() {
|
public ConfigManager configuration() {
|
||||||
return new ConfigManager()
|
return new ConfigManager()
|
||||||
.addOption(new NumericOption("radius", Material.HEART_OF_THE_SEA, TranslatedComponent.byId("optionCommon#radius"), 10, 20, 30, 40))
|
.addOption(new NumericOption("radius", Material.HEART_OF_THE_SEA, TranslatedComponent.byId("optionCommon#radius"), 10, 20, 30, 40))
|
||||||
.addOption(new NumericOption("startSpeed", Material.LEATHER_BOOTS, TranslatedComponent.byId("game_TurtleGame#startSpeed"), 2, 4, 6, 8, 10));
|
.addOption(new NumericOption("startSpeed", Material.LEATHER_BOOTS, TranslatedComponent.byId("game_TurtleGame#startSpeed"), 2, 3, 4, 6, 8));
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
Reference in New Issue
Block a user