Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
tokenizerrr
on Jan 23, 2015
|
parent
|
context
|
favorite
| on:
Elevator Saga – An elevator programming game
I don't think you need an argument. Within the callback function you still hold a reference to floor, and you know the up button has been pressed. There doesn't seem to be any more information. Note that there is also down_button_pressed
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: