This site requires JavaScript, please enable it in your browser!
Greenfoot back
FreshPrince19
FreshPrince19 wrote ...

2016/2/5

Confusing Homework Problem

FreshPrince19 FreshPrince19

2016/2/5

#
Hi I was just wanting some clarification on a problem. It says Move the code that moves left when you make noise into its own method. Call this method moveLeftNoise. I am having trouble what exactly I have to do. Any help would be appreciated.
danpost danpost

2016/2/5

#
That is basically a refactoring problem where you replace a set of code with a method call and create the method to be called with the code replaced in its body.
You need to login to post a reply.