DanceGame.h 658 B

12345678910111213141516171819202122232425262728293031
  1. #pragma once
  2. #ifndef __dance_game_h__
  3. #define __dance_game_h__
  4. #include "DanceFoot.h"
  5. class DanceGame {
  6. public :
  7. DanceGame();
  8. //void Process(int* right_pos, int* right_att, int right_zupt, int* left_pos, int* left_att, int left_zupt, int jump, int down, int rssi);
  9. void Process(int* right_pos, int* right_att, int right_zupt, int right_press,
  10. int* left_pos, int* left_att, int left_zupt, int left_press, int jump, int down, int rssi);
  11. void getResult(int *matrix);
  12. float getGamePos(int left_or_right, int index);
  13. private:
  14. DanceFoot leftFoot;
  15. DanceFoot rightFoot;
  16. int result[4];
  17. int left_result;
  18. int right_result;
  19. };
  20. #endif