📄 handleball.h
字号:
/*Copyright (C) 2005 Ferdowsi University*/#ifndef HANDLEBALL_H#define HANDLEBALL_H#include "types.h"#include "dribble.h"#include "pass.h"#include "shoot.h"class HandleBall{ private: bool MakeShootDecision(); bool MakeDribleDecision(); bool MakePassDecision(); bool passable; bool dribblable; bool shootable; float passpriority; float shootpriority; float driblepriority; Dribble dribble; DribbleInfo dribble_info; Pass pass; PassInfo pass_info; Shoot shoot; ShootInfo shoot_info; public : HandleBall(); bool TryHandle(); bool MakeHandleBallDecision(); void ClearBall(); void DoShoot(float , float); ActionInfo GetBestAction();};#endif // HANDLEBALL_H
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -