40 likes | 192 Views
GBK Programming 1. Jordan Johnson. Today’s plan. Greeting HW Questions ? Review: definitions, expressions, if s Programming time Lesson: Interaction Clean-up. Interaction. We’ve seen three handler functions: tick handlers ( next , off-screen? ) redraw handlers ( draw )
E N D
GBK Programming 1 Jordan Johnson
Today’s plan Greeting HW Questions? Review: definitions, expressions, ifs Programming time Lesson: Interaction Clean-up
Interaction • We’ve seen three handler functions: • tick handlers (next, off-screen?) • redraw handlers (draw) • Another kind: keyboard handlers • Signature: world KeyEvent world • Register them with on-key
Clean-up • Before you leave, please . . . • Log out. • Push in your chair. • Make sure you’ve got everything. • Make sure all trash ends up in the trash can.