Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
|
|
@ -0,0 +1,18 @@
|
|||
To run:
|
||||
Start up.
|
||||
Handle any events.
|
||||
Shut down.
|
||||
|
||||
To handle any events:
|
||||
Deque an event.
|
||||
If the event is nil, exit.
|
||||
Handle the event.
|
||||
Repeat.
|
||||
|
||||
To handle an event:
|
||||
If the event's kind is "key down", handle the event (key down).
|
||||
|
||||
To handle an event (key down):
|
||||
Put the event's key into a key.
|
||||
Write "" then the key to the console.
|
||||
If the key is the escape key, relinquish control.
|
||||
Loading…
Add table
Add a link
Reference in a new issue