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; }
public bool Equals(AreaBuff other) { return(Coord.Equals(other.Coord) && Radius == other.Radius && Effect.Equals(other.Effect)); }