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

25
include/Food.hpp Normal file
View File

@@ -0,0 +1,25 @@
//
// Created by User on 2024/10/29.
//
#ifndef OOP_FOOD_HPP
#define OOP_FOOD_HPP
#include <string>
#include <vector>
#include "Ingredients.hpp"
class Food {
protected:
Production id;
std::vector<Ingredients> ingredient;
int money;
public:
Food(Production id);
Production getId() const;
std::vector<Ingredients> GetIngredient();
virtual void MakeFood() = 0;
int GetMoney();
};
#endif // OOP_FOOD_HPP