Advertisement
Guest User

Untitled

a guest
Jan 24th, 2015
173
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.        for(myfloor in floors){ myfloor.on('down_button_pressed',function(floorNum){
  2.             elevator.destinationQueue.push(floorNum);})}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement