Hi,
I have a class called Coin and I want to use 2 differnt sizes. The first size set is as a collectable item, the second size is for the HUD. I have this, which I am using right now:
How would I go about using a different size for the HUD but still using the same class?
public class Coin extends Mover
{
private final GreenfootImage Coin1 = new GreenfootImage("coin-1.gif");
private final GreenfootImage Coin2 = new GreenfootImage("coin-2.gif");
private final GreenfootImage Coin3 = new GreenfootImage("coin-3.gif");
public Coin()
{
setImage(Coin1);
Coin1.scale(25,35);
Coin2.scale(25,35);
Coin3.scale(25,35);
}

