From 5bd2ededa1b9015a0238e57a0886d41ba393e977 Mon Sep 17 00:00:00 2001 From: Maxim Slipenko Date: Wed, 14 Feb 2024 17:25:33 +0300 Subject: [PATCH] =?UTF-8?q?=D0=B4=D0=BE=D0=B1=D0=B0=D0=B2=D0=BB=D0=B5?= =?UTF-8?q?=D0=BD=20crafting=5Fsystem?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- program/crafting_system.cpp | 0 program/crafting_system.h | 9 +++++++++ 2 files changed, 9 insertions(+) create mode 100644 program/crafting_system.cpp create mode 100644 program/crafting_system.h diff --git a/program/crafting_system.cpp b/program/crafting_system.cpp new file mode 100644 index 0000000..e69de29 diff --git a/program/crafting_system.h b/program/crafting_system.h new file mode 100644 index 0000000..204d005 --- /dev/null +++ b/program/crafting_system.h @@ -0,0 +1,9 @@ +// Система крафтинга - позволяет создавать новые предметы +class CraftingSystem { +public: + // Добавляет рецепт крафтинга + void addCraftingRecipe(/* параметры рецепта */); + + // Крафтит предмет по рецепту + void craftItem(int recipeId); +};