Project:PizzaPrinter: Difference between revisions
From London Hackspace Wiki
→add_layer
Line 153: | Line 153: | ||
Pizza pz = new Pizza(); | Pizza pz = new Pizza(); | ||
pz.add_layer('crust'); | pz.add_layer('crust'); | ||
pz.add_layer("sauce"); | |||
pz.add_layer('tomato'); | pz.add_layer('tomato'); | ||
pz.add_layer('mozzarella'); | pz.add_layer('mozzarella'); |