f= new File(screenShotPath+"scr"+screenShotCounter+".png");
}
AbstractScene scene =((AbstractScene)getCurrentState());
scene.screenShot(f.getAbsolutePath());
screenShotCounter++;
LabelActor msg = new LabelActor(0,screen.getHeight()-20,"Screen saved in:"+f.getAbsolutePath());
msg.dead(2000);
scene.add(msg);
}
}