BasicItems.h 414 B

12345678910111213141516171819202122232425262728
  1. #pragma once
  2. #include "ItemType.h"
  3. class WoodStickItemType : public ItemType
  4. {
  5. REGISTRABLE(WoodStickItemType)
  6. protected:
  7. WoodStickItemType();
  8. public:
  9. Item* createItem() const override;
  10. };
  11. REGISTER(WoodStickItemType, ItemType)
  12. class ResinItemType : public ItemType
  13. {
  14. REGISTRABLE(ResinItemType)
  15. protected:
  16. ResinItemType();
  17. public:
  18. Item* createItem() const override;
  19. };
  20. REGISTER(ResinItemType, ItemType)