212223242526272829
{ floorNum = fNum; floors = new ArrayList<>(floorNum); for(int i=0;i<floorNum;i++) floors.add(new ArrayDeque<THuman>()); elev = new TElevator(this,cap); pt = p; freq = frequency; rnd = new Random(); count = 0; }