📄 position.java
字号:
// Decompiled by DJ v3.7.7.81 Copyright 2004 Atanas Neshkov Date: 2005-4-9 12:51:46
// Home Page : http://members.fortunecity.com/neshkov/dj.html - Check often for new version!
// Decompiler options: packimports(3)
// Source File Name: Position.java
package girl60;
public class Position
{
public Position(int x, int y)
{
this.x = x;
this.y = y;
}
public Position()
{
x = 0;
y = 0;
}
public int getX()
{
return x;
}
public int getY()
{
return y;
}
public void setX(int x)
{
this.x = x;
}
public void setY(int y)
{
this.y = y;
}
public void setXY(int x, int y)
{
this.x = x;
this.y = y;
}
public void setData(Position p)
{
x = p.getX();
y = p.getY();
}
public String toStrign()
{
return "x = " + x + ", y = " + y;
}
private int x;
private int y;
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -