⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 client.h

📁 RoboCup 2D 仿真组冠军源代码之1998年冠军队——CMUnited98源代码
💻 H
字号:
/* client.h * CMUnited98 (soccer client for Robocup98) * Peter Stone <pstone@cs.cmu.edu> * Computer Science Department * Carnegie Mellon University * Copyright (C) 1998 Peter Stone * * CMUnited-98 was created by Peter Stone, Manuela Veloso, and Patrick Riley * * You may copy and distribute this program freely as long as you retain this notice. * If you make any changes or have any comments we would appreciate a message. *//* client.C contains the main program loop  * It is partially based on Player.C from the turnballclient of Alessandro Bissacco   */#ifndef _CLIENT_H_#define _CLIENT_H_#include "Memory.h"extern Memory *Mem;void turn(AngleDeg ang);void dash(float power);void kick(float power, AngleDeg dir);void goalie_catch(AngleDeg dir);void move(float x, float y);inline void move(Vector p) { move(p.x,p.y); }void disconnect();void change_view(Vqual qual, Vwidth width);inline void change_view(Vqual qual) { change_view(qual,Mem->ViewWidth); }inline void change_view(Vwidth width) { change_view(Mem->ViewQuality,width); }#endif

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -