Exemplo n.º 1
0
        public override float GetFatherG(IMapNode target)
        {
            var tt = target as ClientMapNode;

            return(Vector3.Distance(Position, tt.Position));
        }
Exemplo n.º 2
0
        public override float GetTargetH(IMapNode father)
        {
            var ft = father as ClientMapNode;

            return(Vector3.Distance(Position, ft.Position));
        }
Exemplo n.º 3
0
 public ClientMapNode(Vector3 pos)
 {
     this.Position = pos;
 }