Update StrategySystem.cpp

This commit is contained in:
Xi Xu committed 2023-10-29 23:49:16 +08:00
1 parent 1df672a7dc
commit a342a08500
1 file changed
+12 -6
+12 -6
View File
@@ -23,12 +23,18 @@ extern int nKick;
// 罚球
void CStrategySystem::Penalty() {
//// TODO: Penalty
if (ball.position.x <= 309 && ball.position.x >= 279) {
if (ball.position.y >= 394 && ball.position.y <= 424) {
}
}
// srand(time(nullptr));
// int x = rand() % 2;
// if (x) {
// if (...)
// Direction(HOME1, ball.position);
// else
// Position(HOME1, ...);
// }
// else {
// if (...)
// ...
// }
}
// 争球