public void ReSet() { this.path = new RouteProblem.Path(id); this.isComplete = false; this.curStation = null; this.runningTime = 0; this.distance = 0; this.students = new List <Student>(); this.states = new List <StateBus>(); }
public Bus(int id, int capacity) { this.Id = id; this.capacity = capacity; this.path = new RouteProblem.Path(id); this.isComplete = false; this.curStation = null; this.runningTime = 0; this.distance = 0; this.students = new List <Student>(); this.states = new List <StateBus>(); }