From 7689f2296b1fcefb6e1d577787fc417a0bbd5f0e Mon Sep 17 00:00:00 2001 From: huaxiaoshi <1904405122@qq.com> Date: Sun, 29 Oct 2023 19:37:49 +0800 Subject: [PATCH] if --- StrategySystem.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/StrategySystem.cpp b/StrategySystem.cpp index 221ee88..51ab108 100644 --- a/StrategySystem.cpp +++ b/StrategySystem.cpp @@ -24,6 +24,11 @@ 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) { + + } + } } // 争球