area_business_speed_checker.h 700 B

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