shoot/User/module/ball.h

20 lines
284 B
C
Raw Normal View History

2025-03-13 19:23:24 +08:00
#ifndef _BALL_H_
#define _BALL_H_
typedef struct ball
{
int hand;//运球
int paw;//爪
int inball;//光电门
int to_shoot;//给发射
}BASKETBALL;
int ball_in(void);
int pass_ball(void);
void handling_ball(int hand, int paw);
int catch_ball(int inball);
#endif