topical media & game development

talk show tell print

lib-flex-animation-code-04-Node.ax

lib-flex-animation-code-04-Node.ax (swf ) [ flash ] flex


  package
  {
          
Represents a specific node evaluated as part of a pathfinding algorithm.

  
          public class @ax-lib-flex-animation-code-04-Node
          {
                  public var x:int;
                  public var y:int;
                  public var f:Number;
                  public var g:Number;
                  public var h:Number;
                  public var walkable:Boolean = true;
                  public var parent:@ax-lib-flex-animation-code-04-Node;
                  public var costMultiplier:Number = 1.0;
                  
                  public function @ax-lib-flex-animation-code-04-Node(x:int, y:int)
                  {
                          this.x = x;
                          this.y = y;
                  }
          }
  }


(C) Æliens 18/6/2009

You may not copy or print any of this material without explicit permission of the author or the publisher. In case of other copyright issues, contact the author.