32 lines
642 B
C++
32 lines
642 B
C++
|
/*
|
|||
|
* ChicagoStyleVeggiePizza.hpp
|
|||
|
*
|
|||
|
* Created on: 2 нояб. 2021 г.
|
|||
|
* Author: alexander
|
|||
|
*/
|
|||
|
|
|||
|
#pragma once
|
|||
|
|
|||
|
#include "Pizza.hpp"
|
|||
|
|
|||
|
class ChicagoStyleVeggiePizza: public Pizza
|
|||
|
{
|
|||
|
public:
|
|||
|
ChicagoStyleVeggiePizza()
|
|||
|
{
|
|||
|
setName("Chicago Deep Dish Veggie Pizza");
|
|||
|
setDough("Extra Thick Crust Dough");
|
|||
|
setSauce("Plum Tomato Sauce");
|
|||
|
|
|||
|
addTopping("Shredded Mozzarella Cheese");
|
|||
|
addTopping("Black Olives");
|
|||
|
addTopping("Spinach");
|
|||
|
addTopping("Eggplant");
|
|||
|
}
|
|||
|
|
|||
|
void cut() const override
|
|||
|
{
|
|||
|
std::cout << "Cutting the pizza into square slices" << std::endl;
|
|||
|
}
|
|||
|
};
|