DropCondition.h 333 B

12345678910111213141516171819
  1. #pragma once
  2. #include <Either.h>
  3. class Entity;
  4. class Item;
  5. class ItemSkill;
  6. class Block;
  7. class DropCondition
  8. {
  9. public:
  10. virtual ~DropCondition() = default;
  11. virtual bool evaluate(Entity* zActor,
  12. Item* zItem,
  13. ItemSkill* zUsedSkill,
  14. Framework::Either<Block*, Entity*> zDestroyedObject)
  15. = 0;
  16. };