📄 notifingobject.java
字号:
/*
* Created on Apr 29, 2005
*
* TODO this class is created as parameter, when data of model are changed,
* Observable object will notify oberver and transfer object of this class to
* observer as parameter
*/
package model;
/**
* @author mqqqvpppm
*
* TODO this class is created as parameter, when data of model are changed,
* Observable object will notify oberver and transfer object of this class to
* observer as parameter
*/
public class NotifingObject {
public NotifingObject() {
super();
//location = null;
type = NULL;
}
//public void setLocation(Location location){
// this.location = location;
//}
public void setType(int type) {
this.type = type;
}
//public Location getLocation(){
// return location;
//}
public int getType() {
return type;
}
private int type;
public static final int NULL = 0;
public static final int TYPE_CELLCHANGED = 1;
public static final int TYPE_WIN = 2;
public static final int TYPE_GAMEOVER = 3;
public static final int TYPE_RESTART = 4;
public static final int TYPE_TIME = 5;
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -