countLength++;
if(countLength>15 && isTouching(Player.class))
{
getWorld().addObject(new YouLose(), getWorld().getWidth()/2, getWorld().getHeight()/2);
Greenfoot.stop();
}
This error says "cannot find symbol- class YouLose"