module_area_entry_forbid.h 672 B

12345678910111213141516171819202122232425262728293031
  1. #ifndef MODULE_AREA_ENTRY_FORBID_H
  2. #define MODULE_AREA_ENTRY_FORBID_H
  3. /**
  4. * @brief 简要说明
  5. * @author 戴月腾
  6. * @date 2019-01-10
  7. */
  8. #include "module_singleton_base.h"
  9. #include "card.h"
  10. class module_area_entry_forbid:public singleton_base<module_area_entry_forbid>
  11. {
  12. private:
  13. friend class singleton_base<module_area_entry_forbid>;
  14. module_area_entry_forbid()
  15. {
  16. }
  17. public:
  18. void on_enter(std::shared_ptr<card_location_base> card_ptr, int index);
  19. void on_hover(std::shared_ptr<card_location_base> card_ptr, int index);
  20. void on_leave(std::shared_ptr<card_location_base> card_ptr, int index);
  21. };
  22. #endif // MODULE_AREA_ENTRY_FORBID_H