Question: This will call panel . getkey code !'; that returns a code for a has been pushed , and will return one of the above

This will call panel . getkey code !'; that returns a code for a has been pushed , and will return one of the above constants if key has been pushed . . The method handle Keys should do nothing if the return * " If the key code is RIGHT_ ARROW Or LEFT_ ARROW the right or left by 3 pixels , but do not let any part of the SCREEN . To move the patrol ship :` draw the patrol ship in white ( to erase the old one . Change patrolx draw the patrol ship in green Call the method handlekeys in the loop . You should be able* pushing the left and right arrows on the keyboard . Before using the arrow keys , make sure your drawing wind by clicking the mouse in this window . Part 5: Shooting* The patrol ship will shoot a missile when the up arrow key is { Make class variables patrol Missilex and patrolMissile " Initialize patrol MissileY to O . Make a contant PATROL _ MISSILE _ LENGTH initialized to 10 . Write a method ." minhilir mint
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
