socref.java
来自「一个多机器人的仿真平台」· Java 代码 · 共 53 行
JAVA
53 行
/* * SocRef.java */package EDU.gatech.cc.is.simulation;import java.awt.*;import EDU.gatech.cc.is.util.Vec2;import EDU.gatech.cc.is.util.Units;/** * methods of a Soccer Referee. * For this simulation system they are implemented by the ball. * That's right, the ball is the referee. * <P> * Copyriht (c)2000 Tucker Balch * * @author Tucker Balch * @version $Revision: 1.2 $ */public interface SocRef { /** * True if the game is underway. False means * the players should return to their starting * positions. */ public boolean playBall(); /** * True if the east team gets to kick off this time. */ public boolean eastKickOff(); /** * True if the west team gets to kick off this time. */ public boolean westKickOff(); /** * True if the east team scored during the last timestep. */ public boolean eastJustScored(); /** * True if the west team scored during the last timestep. */ public boolean westJustScored(); }
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?