摘要:
#include "Player.h"SoccerCommand Player::deMeer5_Midfielder(){SoccerCommand soc(CMD_ILLEGAL);if (WM->isBeforeKickOff()){ if (formations->getFormation() != FT_INITIAL || // not in kickoff formation WM->getAgentGlobalPosition().getDistanceTo(WM->getStrategicPosition()) > 2.0) 阅读全文
摘要:
#include "Player.h"SoccerCommand Player::deMeer5_Defender(){SoccerCommand soc(CMD_ILLEGAL);if (WM->isBeforeKickOff()){ // if not in kickoff formation, teleport to kick_off formation if (formations->getFormation() != FT_INITIAL || WM->getAgentGlobalPosition().getDistanceTo(WM->g 阅读全文
摘要:
SoccerCommand Player::deMeer5_Attacker(){SoccerCommand soc(CMD_ILLEGAL);if (WM->isBeforeKickOff()){ if (formations->getFormation() != FT_INITIAL || //不在开球的阵型 WM->getAgentGlobalPosition().getDistanceTo(WM->getStrategicPosition()) > 2.0)//返回当前球员位置 { formations->setFormation(FT_INITIA 阅读全文