area_business_speed_checker.h 760 B

123456789101112131415161718192021222324
  1. #ifndef AREA_BUSINESS_SPEED_CHECKER_H
  2. #define AREA_BUSINESS_SPEED_CHECKER_H
  3. #include"area.h"
  4. #include "card.h"
  5. #include"area_business.h"
  6. class area_business_speed_checker : public area_business
  7. {
  8. public:
  9. area_business_speed_checker();
  10. virtual int area_business_type()
  11. {
  12. return 4;
  13. }
  14. void on_enter(const std::shared_ptr<area_hover>&a,const std::shared_ptr<card_location_base>&c,std::shared_ptr<business_data>&ptr);
  15. void on_hover(const std::shared_ptr<area_hover>&a,const std::shared_ptr<card_location_base>&c,std::shared_ptr<business_data> ptr);
  16. void on_leave(const std::shared_ptr<area_hover>&a,const std::shared_ptr<card_location_base>&c,std::shared_ptr<business_data> ptr);
  17. };
  18. #endif // AREA_BUSINESS_SPEED_CHECKER_H