Hu Dongyu
/
HuDongyu
publish my project
Diff: Start/Start.cpp
- Revision:
- 4:fd47d9c11263
- Parent:
- 3:c89450845b2a
- Child:
- 5:c31ba165e49c
diff -r c89450845b2a -r fd47d9c11263 Start/Start.cpp --- a/Start/Start.cpp Mon Apr 27 11:59:39 2020 +0000 +++ b/Start/Start.cpp Mon Apr 27 12:13:02 2020 +0000 @@ -90,7 +90,7 @@ void JUDGE(Vector2D attacker11_pos,Vector2D attacker22_pos,Vector2D attacker33_pos,Vector2D attacker44_pos,Vector2D attacker55_pos,Vector2D attacker66_pos,Vector2D attacker77_pos,Vector2D attacker88_pos) { - if(attacker11_pos.y < 10||attacker11_pos.y > 36||attacker11_pos.x > 72) + if(attacker11_pos.y < 10||attacker11_pos.y > 36||attacker11_pos.x < 10||attacker11_pos.x > 72) setpos(attacker11_pos,30,11); else if(attacker22_pos.y < 10||attacker22_pos.y > 36||attacker22_pos.x < 10||attacker22_pos.x > 72) setpos(attacker22_pos,54,10);