12345678910111213141516171819202122232425262728293031 |
- #pragma once
- #ifndef __dance_game_h__
- #define __dance_game_h__
- #include "DanceFoot.h"
- class DanceGame {
- public :
- DanceGame();
- //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);
- void Process(int* right_pos, int* right_att, int right_zupt, int right_press,
- int* left_pos, int* left_att, int left_zupt, int left_press, int jump, int down, int rssi);
- void getResult(int *matrix);
- float getGamePos(int left_or_right, int index);
- private:
- DanceFoot leftFoot;
- DanceFoot rightFoot;
- int result[4];
- int left_result;
- int right_result;
- };
- #endif
|