RuinsExplore.h 732 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. #pragma once
  2. #ifndef __ruins_explore_h__
  3. #define __ruins_explore_h__
  4. #include "pub.h"
  5. class RuinsExplore
  6. {
  7. public:
  8. RuinsExplore();
  9. void Process(int* right_pos, int* right_att, int* right_acc, int right_zupt, int right_press,
  10. int* left_pos, int* left_att, int* left_acc, int left_zupt, int left_press,
  11. int jump, int down, int girl_shoes);
  12. int getResultJump(int jump);
  13. int getAccStatus(int zupt, int* acc, int* max_acc, int* min_acc);
  14. void getResult(int* dec);
  15. private:
  16. int result[4];
  17. int last_jump;
  18. int left_zupt;
  19. int right_zupt;
  20. int last_jump_time;
  21. int right_acc_status;
  22. int left_acc_status;
  23. int right_acc_max[3];
  24. int left_acc_max[3];
  25. int right_acc_min[3];
  26. int left_acc_min[3];
  27. };
  28. #endif