123456789101112131415161718192021222324252627 |
- #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* left_pos, int* left_att, int left_zupt, 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];
- };
- #endif
|