pilotinterface.java.svn-base

来自「這是一個JAVA語言寫的多代理人程式用來模擬飛機起飛或是降落的程式」· SVN-BASE 代码 · 共 45 行

SVN-BASE
45
字号
package interfaces;

import java.util.List;

import world.Gate;
import world.Runway;
import world.TRACON;
import world.Taxiway;
import world.Waypoint;
import world.Weather;

/**
 * CSCI 201 FAA Project - Spring 2009 - Team 4c
 * 
 * @author Josh Villbrandt
 */
public interface PilotInterface {
	
	// Pilot
	public abstract boolean heartBeat();
	
	// Landing
	public abstract void msgNewArrivingFlight(String callNumber, Runway runway, Gate gate, LocalControllerInterface localController);
	public abstract void msgArrivalChecklistSuccessful();
	public abstract void msgClearanceToLand(Runway runway);
	public abstract void msgNotClearedToLand();
	public abstract void msgLandingPath(List<Taxiway> path, GroundControllerInterface gc);
	public abstract void msgTaxiLandingPath(List<Taxiway> taxiInstruction);
	
	// Takeoff
	public abstract void msgNewDepartingFlight(String callNumber, Runway runway, Gate gate, String destination, ClearanceDeliveryInterface clearanceDelivery);
	public abstract void msgClearanceGranted(List<Waypoint> procedure, GroundControllerInterface gc);
	public abstract void msgSendWeather(Weather report);
	public abstract void msgDepartureChecklistSuccessful();
	public abstract void msgGivePushBack(Runway takeoffRunway, Gate gate);
	public abstract void msgTaxiTakeoffPath(List<Taxiway> path, LocalControllerInterface lc);
	public abstract void msgPositionAndHold();
	public abstract void msgClearedForTakeoff(Runway takeoffRunway);
	public abstract void msgContactDepartureControl(TRACON departureControl);
	public abstract void msgWaitForTaxiway();
	public abstract void setLocalController(LocalControllerInterface lc);
	public abstract void setGroundController(GroundControllerInterface gc);
	public abstract GroundControllerInterface getGroundController();
	public abstract LocalControllerInterface getLocalController();		
}

⌨️ 快捷键说明

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