?? superplate.java
字號:
public class SuperPlate //盤子類
{
//盤子屬性:plate_width盤子半徑,plate_x,plate_y盤子中心點坐標
int plate_width,plate_x,plate_y;
//構造方法,用來初始化盤子對象
public SuperPlate(int x,int y,int width)
{
this.plate_width=width;
plate_x = x;
plate_y = y;
}
//用于設定盤子坐標的方法
public void setLocation(int a,int b)
{
plate_x = a;
plate_y = b;
}
}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -