I'm having trouble removing the background colour of a string.
this is what I have:
but when I have null, i would have assumed it'd be transparent - instead it returns as white.
No idea what to do.
public DCCost()
{
setImage(new GreenfootImage("Upgrade: " + cost, 20, Color.BLUE, null));
}
public void setCost(int cost)
{
setImage(new GreenfootImage("Upgrade: " + cost, 20, Color.BLUE, null));
}