?? groundlistener.java
字號:
package cn.itcast.tetris.listener;
import cn.itcast.tetris.entities.Ground;
/**
* 地面監聽器
*
* @version 1.0, 01/01/08
*
* @author 湯陽光
*
*/
public interface GroundListener {
/**
* 將要消行事件
*
*
* @param ground
*
* @param lineNum
* 將要消除的行的行號
* @param lineNum
*/
void beforeDeleteFullLine(Ground ground, int lineNum);
/**
* 消除滿行事件
*
* @param ground
* @param deletedLineCount
* 本次消除的行數
*/
void fullLineDeleted(Ground ground, int deletedLineCount);
void groundIsFull(Ground ground);
}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -