Exemplo n.º 1
0
 /// <summary>
 /// Distance to object
 /// </summary>
 internal float DistanceTo(WoWObject parOtherObject)
 {
     return(this.Position.DistanceTo(parOtherObject.Position));
 }
Exemplo n.º 2
0
 /// <summary>
 /// Set the target by guid
 /// </summary>
 internal void SetTarget(WoWObject parObject)
 {
     TargetGuid = parObject.Guid;
     Functions.SetTarget(parObject.Guid);
 }
Exemplo n.º 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);
 }
Exemplo n.º 4
0
 /// <summary>
 /// Set Facing
 /// </summary>
 internal void Face(WoWObject parObject)
 {
     Face(parObject.Position);
 }