?? cell.java
字號:
package org.bubblebreaker.model;
/*
* col ->
* |----------------------| row
* |----------------------|
* |----------------------| |
* |----------------------| V
*/
public class Cell
{
public int row;
public int col;
public Cell(int row, int col)
{
this.row=row;
this.col=col;
}
public boolean equals(Object obj){
Cell cell=(Cell)obj;
return this.row==cell.row && this.col == cell.col;
}
public void copy(Cell cell)
{
if(null==cell)
{
System.out.println("Null cell to copy????");
(new Exception()).printStackTrace();
return;
}
this.row = cell.row;
this.col = cell.col;
}
}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -