how do i show a countdown of two minutes on the screen while the game plays?
//in active world
private int time = 60*120;
//...
public void act()
{
time--;
showText(time/60, 100, 100);
if (time == 0)
{
//end the game
}
}