mirror of
https://github.com/Maks1mS/pppi-rpg-game.git
synced 2025-10-07 21:03:25 +03:00
добавлен crafting_system
This commit is contained in:
0
program/crafting_system.cpp
Normal file
0
program/crafting_system.cpp
Normal file
9
program/crafting_system.h
Normal file
9
program/crafting_system.h
Normal file
@@ -0,0 +1,9 @@
|
||||
// Система крафтинга - позволяет создавать новые предметы
|
||||
class CraftingSystem {
|
||||
public:
|
||||
// Добавляет рецепт крафтинга
|
||||
void addCraftingRecipe(/* параметры рецепта */);
|
||||
|
||||
// Крафтит предмет по рецепту
|
||||
void craftItem(int recipeId);
|
||||
};
|
Reference in New Issue
Block a user