Job2dDriverpublic abstract class AbstractDriver extends java.lang.Object implements Job2dDriver
| Constructor | Description |
|---|---|
AbstractDriver(int x,
int y) |
Creates instance of driver with marker of certain coordinates.
|
| Modifier and Type | Method | Description |
|---|---|---|
void |
setPosition(int x,
int y) |
Changes the head coordinates (in passive mode).
|
operateTopublic AbstractDriver(int x,
int y)
x - X axis coordinate.y - Y axis coordinate.public final void setPosition(int x,
int y)
Job2dDriversetPosition in interface Job2dDriverx - new position on the X axis.y - new position on the Y axis.