📄 command.h~
字号:
#ifndef MSPACECOMMAND_H#define MSPACECOMMAND_H#include <string>#include "connect.h"#include "param.h"#include "worldmodel.h"extern MSpace::Param param;namespace MSpace {/**@author root*/struct DriveMessage{ long sentcycle; Vec force;};class Command{public: Command(); void Create(std::string TeamName,int Number); void Done(); void Kick(Angel ang,float force); void Drive(Vec v); void PutKick(Angel ang,float force); void PutDrive(Vec v); void PutCatch(); void SentCommand(); void Beam(Vec v); void Catch(); void TurnCamera(Angel pan,Angel tilt); void Say(std::string word); void Notify(int time); Vec GetLastDriveForce(); long GetLastDriveCycle(); ~Command();private: queue <std::string>comq; DriveMessage lastdrive;};}#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -