/** * This will be a genius Vic, capable of greatness. * * @author Mr. Merlis * @version 10/29/2007 */ public class SmartVic extends Vic { /** * This method will move and then take a CD. */ public void moveTake() { moveOn(); takeCD(); }//============================== /** * This method will move and then put a CD. */ public void movePut() { moveOn(); putCD(); }//============================== /** * This method will back up and then take a CD. */ public void backTake() { backUp(); takeCD(); }//============================== /** * This method will back up and then put a CD. */ public void backPut() { backUp(); putCD(); }//============================== /** * This method will move forward the parameter-specified amount. */ public void moveOn(int steps) { for(int i = 0; i < steps; i++) { moveOn(); } }//================================== /** * This method will move backwards the parameter-specified amount. */ public void backUp(int steps) { for(int i = 0; i < steps; i++) { backUp(); } }//================================== }