1
0

card_path.h 388 B

12345678910111213141516171819
  1. #ifndef _CARD_PATH_HPP_
  2. #define _CARD_PATH_HPP_
  3. #include "point.h"
  4. #include "line.h"
  5. struct sit_list;
  6. struct card_path
  7. {
  8. std::vector<line_v> find_possible_path(const point&from,double dist) const;
  9. std::vector<point> find_path(const point&from,const point&to) const;
  10. bool is_at_path(const point&pt) const;
  11. static card_path&inst();
  12. static void init();
  13. };
  14. #endif