This commit is contained in:
dewfewg committed 2023-10-27 20:00:53 +08:00
1 parent 17310a50c7
commit 58a26a68e2
2 files changed
+20 -1

No files matched your search

+19 -1
View File
@@ -33,7 +33,25 @@ void CStrategySystem::Freeball() {
// 射门
void CStrategySystem::Shot() {
// TODO: Shot
Position(which,CPoint);//机器人到足够近的点
if()
shot1();
if()
shot2();
}
void CStrategySystem::shot1(int which) // 机器人which侧射
{
Robot2 *robot;
switch (which) {
case HOME9:
robot = &home9;
break;
case HOME10:
robot = &home10;
break;
}
}
// 控球