boardevent.java
来自「TetrisGame java.One of my assignments.Ho」· Java 代码 · 共 35 行
JAVA
35 行
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 + =
减小字号Ctrl + -
显示快捷键?