brain.h.svn-base
来自「一个巴西大学编写的2D仿真组足球机器人程序」· SVN-BASE 代码 · 共 46 行
SVN-BASE
46 行
#ifndef BRAIN_H#define BRAIN_H#include "Behavior.h"#include <src/UvABase/Formations.h>#include "KickToGoal.h"#include "InterceptBall.h"#include "GoStrategicPosition.h"#include "SearchBall.h"#include "StayAwayOfMark.h"#include "Teleport.h"#include "MarkOpponent.h"#include "HoldBall.h"#include "PassBall.h"#include "DriveBall.h"#include "Advance.h"class Brain{ protected: WorldModel *WM; /*!< WorldModel that contains information of world */ ServerSettings *SS; /*!< All parameters used by the server */ PlayerSettings *PS; /*!< All parameters used for the player */ KickToGoal *mpKickToGoal; InterceptBall *mpInterceptBall; GoStrategicPosition *mpGoStrategicPosition; SearchBall *mpSearchBall; Teleport *mpTeleport; MarkOpponent *mpMarkOpponent; StayAwayOfMark *mpStayAwayOfMark; HoldBall *mpHoldBall; PassBall *mpPassBall; DriveBall *mpDriveBall; Advance *mpAdvance; public: Brain(); ~Brain(); virtual Behavior* think (Formations *formations ) = 0;};#endif
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?