예제 #1
0
 public AbilityInfo(int dmg, int cost, int range, int cooldown, Buff buff,
                    AreaBuff areaBuff)
 {
     Dmg      = dmg;
     Cost     = cost;
     Range    = range;
     Cooldown = cooldown;
     Buff     = buff;
     AreaBuff = areaBuff;
 }
예제 #2
0
 public bool Equals(AreaBuff other)
 {
     return(Coord.Equals(other.Coord) && Radius == other.Radius && Effect.Equals(other.Effect));
 }