Package aStarLibrary

Examples of aStarLibrary.Node


      boolean isWalkable,
      Room room,
      DataMap referenceMap
  ) {
    super(id, objectType, referenceMap);
    this._node = new Node(new float[] {x, y});
    this._node.walkable = isWalkable;
    this._roomId = room.getId();
  }
View Full Code Here


      boolean isWalkable,
      int roomId,
      DataMap referenceMap
  ) {
    super(id, objectType, referenceMap);
    this._node = new Node(new float[] {x, y});
    this._node.walkable = isWalkable;
    this._roomId = roomId;
  }
View Full Code Here

   * @param other
   * @param reference
   */
  protected BasePosition(BasePosition original, DataMap referenceMap) {
    super(original.getId(), original.getType(), referenceMap);
    this._node = new Node(new float[] {original.getX(), original.getY()});
    this._node.walkable = original._node.walkable;
    this._roomId = original._roomId;
  }
View Full Code Here

TOP

Related Classes of aStarLibrary.Node

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.