First_Commit

This commit is contained in:
2025-07-23 23:06:27 +08:00
commit d35d096374
27 changed files with 2528 additions and 0 deletions

28
include/SideDish.hpp Normal file
View File

@@ -0,0 +1,28 @@
//
// 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