buttons.add(UIButton.builder().id("buy" + type.toString()).text(Integer.toString(type.getCost()))
                        .graphic(type.toString()).width(48).height(48).hidden(forPlayer.getCredits() < type.getCost())
                        .build());