public class CS15Robot
extends java.lang.Object
Constructor and Description |
---|
CS15Robot()
This is the CS15Robot constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
moveDown(int steps)
Moves the CS15Robot down by however many steps are passed in.
|
void |
moveUp(int steps)
Moves the CS15Robot up by however many steps are passed in.
|
void |
shuffleLeft(int steps)
Moves the CS15Robot left by however many steps are passed in.
|
void |
shuffleRight(int steps)
Moves the CS15Robot right by however many steps are passed in.
|
public CS15Robot()
public void moveDown(int steps)
steps
- an integer for the number of steps to move CS15Robotpublic void moveUp(int steps)
steps
- an integer for the number of steps to move CS15Robotpublic void shuffleLeft(int steps)
steps
- an integer for the number of steps to move CS15Robotpublic void shuffleRight(int steps)
steps
- an integer for the number of steps to move CS15Robot