Update StrategySystem.cpp
This commit is contained in:
1 parent
1df672a7dc
commit
a342a08500
1 file changed
+12
-6
+12
-6
@@ -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 (...)
|
||||
// ...
|
||||
// }
|
||||
}
|
||||
|
||||
// 争球
|
||||
|
||||
Reference in new issue
Block a user