public class P1_War { private int id; //ID number of the WAR private boolean inIntersection; //Is the WAR in the intersuction? True if in intersection private boolean atDock; //Is the WAR at the dock? True if at dock private int trackNum; //Which track does the WAR operate in? 1 or 2? //Constructors public P1_War(){ } public P1_War(int idInput, int trackNumInput, boolean atDockInput, boolean inIntersectionInput) { id = idInput; inIntersection = inIntersectionInput; atDock = atDockInput; trackNum = trackNumInput; } }