RecipieList.h 466 B

12345678910111213141516171819
  1. #pragma once
  2. #include <Text.h>
  3. #include "Recipie.h"
  4. class RecipieList
  5. : public virtual Framework::ReferenceCounter
  6. {
  7. private:
  8. Framework::RCArray<Recipie> recipies;
  9. Framework::Text name;
  10. public:
  11. RecipieList(Framework::Text name);
  12. void addRecipie(Recipie* recipie);
  13. Recipie* zFirstRecipie(CraftingStorage* zStorage);
  14. const Framework::Text& getName() const;
  15. void findRecipies(int itemTypeId, Framework::RCArray<Recipie>& recipies);
  16. };