award.java
来自「《神州》RPG游戏引擎」· Java 代码 · 共 52 行
JAVA
52 行
/*
* Created on 2005-9-1
*
* TODO To change the template for this generated file go to
* Window - Preferences - Java - Code Style - Code Templates
*/
/**
* @author Administrator
*
* TODO To change the template for this generated type comment go to
* Window - Preferences - Java - Code Style - Code Templates
*/
public class Award {
public int type;
public static final int TYPE_MONEY=1;
public static final int TYPE_MAT=2;
public static final int TYPE_SKILL=3;
private Skill skill;
private Mat mat;
private int money;
public int getType() {
return type;
}
public Mat getMat() {
return mat;
}
public int getMoney() {
return money;
}
public Skill getSkill() {
return skill;
}
public void setMat(Mat mat) {
this.mat = mat;
}
public void setMoney(int money) {
this.money = money;
}
public void setSkill(Skill skill) {
this.skill = skill;
}
public void setType(int type) {
this.type = type;
}
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?