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