]I have the above code in my game. It does show the text "you lose" like I want it too. However, it is very small. I want to make the text bigger. How do I do that?
public class Loser extends World
{
/**
* Constructor for objects of class Loser.
*
*/
public Loser()
{
// Create a new world with 600x400 cells with a cell size of 1x1 pixels.
super(600, 400, 1);
showMessage();
}
public void showMessage()
{
GreenfootImage bg = getBackground();
bg.setColor(Color.YELLOW);
bg.drawString("You Lose", 300, 200);
}
}
