Then call the skate around method-to make the skater skate


Enhanced clever Skater

Create an even better clever Skater than the one presented in Section 4-3. In addition to the skate Forward, spin and skate Around methods, create skate Backward and jump class-level methods. In skate Backward, the skater should perform similar actions to those in the skate Forward method, but slide backward instead of forward. In a jump method, the skater should move forward, lift one leg, then move upward (in the air) and back down to land gracefully on the ice and lower her leg back to its starting position. Save out your enhanced skater as Enhanced Clever Skater.

Test your newly defined class by starting a new world with a frozen lake. Add an enhanced Clever Skater to the world. Also, add a penguin and a duck.

(a) Call each of the methods you have written.

(b) Then call the skate Around method-to make the skater skate around the penguin and then the duck. (This will require two calls to the skate Around method.)

Request for Solution File

Ask an Expert for Answer!!
Basic Computer Science: Then call the skate around method-to make the skater skate
Reference No:- TGS01495944

Expected delivery within 24 Hours