?? direction.java
字號:
package cn.nasa;
public class Direction {
private Direction left;
private Direction right;
private int x_offset;
private int y_offset;
public void setLeft(Direction left) {
this.left = left;
}
public void setRight(Direction right) {
this.right = right;
}
// public Direction(){
// this.right=null;
// this.left=null;
// }
public Direction TurnLeft() {
return left;
}
public Direction TurnRight() {
return right;
}
public int getX_offset() {
return x_offset;
}
public int getY_offset() {
return y_offset;
}
public void setX_offset(int x) {
this.x_offset = x;
}
public void setY_offset(int y) {
this.y_offset = y;
}
}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -