my games is at http://www.greenfoot.org/scenarios/7947 or InvadersHelp
when the round ends the store is supposed to come up it works the first time then the next time it comes up only for a brief second.
public void closeStore()
{
if(storeClosed == true)
...
storeClosed = false;
}openStore = true; System.out.println(openStore); //Would print "true" System.out.println(!openStore); //Would print "false"
// instead of if (isBarrier1 == true) // use if (barrier1.getWorld() != null)
public void barriers()
{
if (boughtBarriers)
{
removeObjects(getObjects(Barrier.class));
addObject(barrier1, 200, 425);
addObject(barrier2, 500, 425);
addObject(barrier3, 800, 425);
}
}