C# Class Assignment1.Pizza

The main Pizza class. Contains methods for adding toppings to the pizza, the number of minutes required to prepare the pizza and a constructor that initializes the pizza's size to a given value.
Show file Open project: shendongnian/code

Public Methods

Method Description
AddTopping ( Topping top ) : void
Numminutes ( ) : double
Pizzasize ( Size psize ) : void

Method Details

AddTopping() public method

public AddTopping ( Topping top ) : void
top Topping
return void

Numminutes() public method

public Numminutes ( ) : double
return double

Pizzasize() public method

public Pizzasize ( Size psize ) : void
psize Size
return void