when my score gets to 500 I wants to add another missile
but my code doesn't work for some reasonis my current code
public void add()
{
thisScore.newMissile = thisScore.score - 500;
if (thisScore.newMissile == 500)
{
Actor missile;
World world = getWorld();
world.addObject(this,5,5);
thisScore.newMissile = 0;
}
}
