public BossLevel()
{
super(525, 470, 1);
addObject(new Main(), 470, 250);
}
I'm trying to make the main smaller in this world compared to other worlds where I want him normal sized
protected void addedToWorld(World world)
{
if (world instanceof BossLevel)
{
GreenfootImage img = getImage();
img.scale(img.getWidth()/2, img.getHeight()/2);
setImage(img);
}
}