Ejemplo n.º 1
0
 /// <summary>
 ///     Check if we are in line of sight with an object
 /// </summary>
 /// <param name="parObject">The object.</param>
 /// <returns></returns>
 public bool InLosWith(WoWObject parObject)
 {
     return(InLosWith(parObject.Position));
 }
Ejemplo n.º 2
0
 /// <summary>
 ///     Set Facing towards passed object
 /// </summary>
 /// <param name="parObject">The object.</param>
 public void Face(WoWObject parObject)
 {
     //Location xyz = new Location(parObject.Position.X, parObject.Position.Y, parObject.Position.Z);
     //Functions.Ctm(this.Pointer, Enums.CtmType.FaceTarget, xyz, parObject.Guid);
     Face(parObject.Position);
 }
Ejemplo n.º 3
0
 internal float RequiredFacing(WoWObject parObject)
 {
     return(RequiredFacing(parObject.Position));
 }
Ejemplo n.º 4
0
 internal float FacingRelativeTo(WoWObject parObject)
 {
     return(FacingRelativeTo(parObject.Position));
 }
Ejemplo n.º 5
0
 /// <summary>
 ///     Set the target by guid
 /// </summary>
 internal void SetTarget(WoWObject parObject)
 {
     Functions.SetTarget(parObject.Guid);
     TargetGuid = parObject.Guid;
 }
Ejemplo n.º 6
0
 /// <summary>
 ///     Set Facing
 /// </summary>
 internal void Face(WoWObject parObject)
 {
     //XYZ xyz = new XYZ(parObject.Position.X, parObject.Position.Y, parObject.Position.Z);
     //Functions.Ctm(this.Pointer, Enums.CtmType.FaceTarget, xyz, parObject.Guid);
     Face(parObject.Position);
 }
Ejemplo n.º 7
0
 /// <summary>
 ///     Distance to object
 /// </summary>
 internal float DistanceTo(WoWObject parOtherObject)
 {
     return(Calc.Distance2D(Position, parOtherObject.Position));
 }