First_Commit
This commit is contained in:
25
include/Food.hpp
Normal file
25
include/Food.hpp
Normal 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
|
||||
Reference in New Issue
Block a user