Files
OOP2024f_HW3/include/SideDish.hpp
2025-07-23 23:06:27 +08:00

29 lines
476 B
C++

//
// Created by User on 2024/10/29.
//
#ifndef OOP_SIDEDISH_HPP
#define OOP_SIDEDISH_HPP
#include <string>
#include <stdexcept>
#include "Food.hpp"
#include "Ingredients.hpp"
enum class SideDishType {
BIG = 0,
SMALL = 1
};
class SideDish final : public Food {
private:
SideDishType type = SideDishType::SMALL;
public:
SideDish(Production id);
void MakeFood() override;
void MakeLarger();
SideDishType GetType();
};
#endif // OOP_SIDEDISH_HPP