// when a person enters the elevator public void enter(int floor, int id) { this.count++; insideRequests[floor] = id; if (count == 3) this.full = true; outsideRequests[floor] -= id; contents[id] = 1; printer(); }