Example #1
0
 /// <summary>
 /// Distance to object
 /// </summary>
 internal float DistanceTo(WoWObject parOtherObject)
 {
     return(this.Position.DistanceTo(parOtherObject.Position));
 }
Example #2
0
 /// <summary>
 /// Set the target by guid
 /// </summary>
 internal void SetTarget(WoWObject parObject)
 {
     TargetGuid = parObject.Guid;
     Functions.SetTarget(parObject.Guid);
 }
Example #3
0
 /// <summary>
 /// Are we in LoS with object?
 /// </summary>
 internal bool InLoSWith(WoWObject parObject)
 {
     // return 1 if something is inbetween the two coordinates
     //return Functions.Intersect(Position, parObject.Position) == 0;
     return(false);
 }
Example #4
0
 /// <summary>
 /// Set Facing
 /// </summary>
 internal void Face(WoWObject parObject)
 {
     Face(parObject.Position);
 }