示例#1
0
文件: Skill.cs 项目: sdavidlee/re-gun
 public Skill(string skillName, float cooltime, SkillShortKeys shortKey, PlayerAnimations animation = PlayerAnimations.UsingSkill, Action action = null)
 {
     this.SkillName           = skillName;
     this.CoolTime            = cooltime;
     this.NextAvailableAttack = 0;
     this.shortKey            = shortKey;
     this.targetAnimation     = animation;
     this.action = action;
 }
示例#2
0
 public SkillIcon GetSkillIcon(SkillShortKeys shortKey) => this.SkillIcons.First(i => i.shortKey == shortKey);