📄 property.java
字号:
package org.gamecollege.j2me.rpg;
/**
* 道具(物品)封装类
*/
public class Property extends RPGObject{
/**
* 1:武器类 2:药品类 3:护具类
*/
int type;
//价钱。
int price;
//使用该道具时增加的HP
int addHP;
//使用该道具时增加的MP
int addMP;
//使用该道具时增加的攻击力
int addAttackPoint;
//使用该道具时增加的防御力
int addDefendPoint;
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -