groundhelperarriv.java.svn-base
来自「這是一個JAVA語言寫的多代理人程式用來模擬飛機起飛或是降落的程式」· SVN-BASE 代码 · 共 63 行
SVN-BASE
63 行
package gui;
import java.util.ArrayList;
import java.util.List;
import world.Runway;
import world.Gate;
import world.Strip;
import world.Taxiway;
public class GroundHelperArriv {
private String sCallNum;
private Strip sStrip;
private boolean bPath;
private List<Taxiway> alTaxiways;
public GroundHelperArriv()
{
setBPath(false);
setSCallNum("");
sStrip = new Strip();
setAlTaxiways(new ArrayList<Taxiway>());
}
public GroundHelperArriv(String callNum, Runway runway, Gate gateNum)
{
setBPath(false);
setSCallNum(callNum);
sStrip = new Strip();
sStrip.runway = runway;
sStrip.gate = gateNum;
setAlTaxiways(new ArrayList<Taxiway>());
}
public void setBPath(boolean bPath) {
this.bPath = bPath;
}
public boolean isBPath() {
return bPath;
}
public void setSStrip(Strip sStrip) {
this.sStrip = sStrip;
}
public Strip getSStrip() {
return sStrip;
}
public void setSCallNum(String sCallNum) {
this.sCallNum = sCallNum;
}
public String getSCallNum() {
return sCallNum;
}
public void setAlTaxiways(List<Taxiway> alTaxiways) {
this.alTaxiways = alTaxiways;
}
public List<Taxiway> getAlTaxiways() {
return alTaxiways;
}
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?