📄 point1.java
字号:
//Class Description:This class is used to sign the mine,maybe unnessary
// but can make the program designing clearer
public class Point1{
int x,y;
int valueof=0;
public Point1(int a,int b,int c){
x=a;y=b;valueof=c;
}
int getX(){
return x;
}
int getY(){
return y;
}
public int valeOfIt(){
return valueof;
}
public static boolean sameLocation(Point1 p1,Point1 p2){
if((p1.getX()==p2.getX())&&(p1.getY()==p2.getY()))
return true;
else
return false;
}
public void increase(){
valueof++;
}
void setValueOf(int a){
valueof=a;
}
int getValue(){
return valueof;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -