Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- for(myfloor in floors){ myfloor.on('down_button_pressed',function(floorNum){
- elevator.destinationQueue.push(floorNum);})}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement