摘要: #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) 阅读全文
posted @ 2010-05-29 09:33 BuildNewApp 阅读(295) 评论(0) 推荐(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 阅读全文
posted @ 2010-05-29 09:33 BuildNewApp 阅读(494) 评论(0) 推荐(0) 编辑
摘要: 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 阅读全文
posted @ 2010-05-29 09:31 BuildNewApp 阅读(413) 评论(0) 推荐(0) 编辑