示例#1
0
文件: Ability.cs 项目: pffft/ld42
 /// <summary>
 /// Add an ability to the ability repository
 /// </summary>
 /// <param name="a"></param>
 private static void Put(Ability a)
 {
     repository.Add(a.name, a.AssignID());
 }
示例#2
0
文件: Ability.cs 项目: pffft/ld42
 public Ability(Ability a) : this(a.name, a.desc, a.icon, a.cooldownMax, a.chargesMax, a.effect)
 {
     this.id = a.id;
 }