Пример #1
0
 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);