Review of Arrays - creating a collision detection listener that uses an array to detect collisions with multiple objects.
Add the following Section 2-11 Vocabulary to your Java Definitions document:
- Allow the user to control one or more objects with the keyboard keys while the animation is running.
-
Any action initiated by the user that is designed to influence the program’s execution during play.
-
Listen for, and react to, a keyboard keystroke that you specify.
-
The act of coding events to handle each procedure.
-
Procedures in the Scene class that listen for keyboard input while the animation is running.
Begin Section 2: Lesson 11 - Variables slides.
Begin Section 2-11 Variables practice. Save the White Rabbit Project as 2-11 Rabbit Keyboard. Save optional 1 activity as 2-11 Submarine. Save optional 2 activity as 2-11 Snow Yak.
Begin Section 2-11 Variables project. Project 2-11 Starter File - this file must be downloaded and unziped. Once you have unzipped the file open it is Alice and then save it as 2-11UnderTheSeaStartYour Name.
Skip step 8.