📄 boardevent.java
字号:
package TetrisBean;
import java.awt.*;
/**
* The BoardEvent class.
*
* @author Scott Clee
*/
public class BoardEvent extends Event
{
private Object fSource;
/**
* Create a BoardEvent.
*
* @param source The source of the event.
*/
public BoardEvent(Object source)
{
super(null, 0, source);
fSource = source;
}
/**
* Returns the source of the event.
*
* @return The source of the event.
*/
public Object getSource()
{
return fSource;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -