*/


class FlavouredRichMilk extends Milk
{
	Container 	container=new Pan(large);
	
	public FlovouredRichMilk(int quantity)
	{
		VanillaPod aPod;
		
		container.add(new Milk((pints) quantity));
		container.add(new Butter((ounces) (quantitiy+(Random(2)*quantity))));
		for(a=0;acool)
		{
			Thread.sleep(10000); // wait ten seconds
			spoon.mix(this); // should we stir while cooling or not ?
		}
		
		container=new jug();
		container.add(this);
		System.fridge().add(container);
		
		Thread.sleep(1000*60*60*8); // ie. eight hours (thread sleep pareameter is in milliseconds)
	}
}

class IceCream extends Custard
{
	public IceCream(float quantity)
	{
		super(quanitity); // ie make custard
		
		Tool spatula=new Spatula(plastic);
		
		FreezerBowl bowl=new FreezerBowl(); // is this one of those fancy bowls you found ? should that be explained somewhere ?
		
		this.remove(vanillaPods);
		bowl.add(this);
		
		while(this.texture != frozen)
		{
			// god, this is difficult to code
			spatula.scrape(bowl.sides());
			spatula.spread(this, bowl.sides());
			bowl.turn();
		}
		return; // done !!
	}
}

class FreezerBowl extends Bowl
{
	// somehow need to also express here that it's not a normal kind of bowl, and maybe where to get it
	
	public FreezerBowl()
	{
		System.freezer().add(this);
		Thread.sleep(1000*60*60*15); // fifteen hours
	}
}