232425262728293031
public static class ShinyBallBuilder implements LevelBuilder{ @Override public void build(JSONObject creation) { new ShinyBall( new Point(creation.get(X).isNumber().doubleValue(), creation.get(Y).isNumber().doubleValue())); }