DanceGame.h 582 B

123456789101112131415161718192021222324252627
  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* left_pos, int* left_att, int left_zupt, int jump, int down, int rssi);
  10. void getResult(int *matrix);
  11. float getGamePos(int left_or_right, int index);
  12. private:
  13. DanceFoot leftFoot;
  14. DanceFoot rightFoot;
  15. int result[4];
  16. };
  17. #endif