public override float GetFatherG(IMapNode target) { var tt = target as ClientMapNode; return(Vector3.Distance(Position, tt.Position)); }
public override float GetTargetH(IMapNode father) { var ft = father as ClientMapNode; return(Vector3.Distance(Position, ft.Position)); }
public ClientMapNode(Vector3 pos) { this.Position = pos; }