📄 demagepacket.java
字号:
package org.su.demo.Creature.demage;
import org.su.demo.NPC.skills.AttackSkills;
/**
* 伤害数据包对象,目前只包括基本伤害值,技能伤害类
*/
public class DemagePacket {
private int demage; //攻击时候产生的原始伤害
private AttackSkills attackSkill; //攻击的种类
public DemagePacket(int demage, AttackSkills attackSkill) {
super();
this.demage = demage;
this.attackSkill = attackSkill;
}
public int getDemage() {
return demage;
}
public void setDemage(int demage) {
this.demage = demage;
}
public AttackSkills getAttackSkill() {
return attackSkill;
}
public void setAttackSkill(AttackSkills attackSkill) {
this.attackSkill = attackSkill;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -