| Package | com.lookbackon.ds |
| Interface | public interface IAStar |
| Implementors | AStarNodeBoard |
| Property | Defined By | ||
|---|---|---|---|
| endNode : AStarNode [read-only]
Returns the end node. | IAStar | ||
| startNode : AStarNode [read-only]
Returns the start node. | IAStar | ||
| Method | Defined By | ||
|---|---|---|---|
Returns the node at the given coords. | IAStar | ||
setEndNode(x:int, y:int):void
Sets the node at the given coords as the end node. | IAStar | ||
setStartNode(x:int, y:int):void
Sets the node at the given coords as the start node. | IAStar | ||
setWalkable(x:int, y:int, value:Boolean):void
Sets the node at the given coords as walkable or not. | IAStar | ||
| endNode | property |
endNode:AStarNode [read-only] Returns the end node.
public function get endNode():AStarNode| startNode | property |
startNode:AStarNode [read-only] Returns the start node.
public function get startNode():AStarNode| getNode | () | method |
public function getNode(x:int, y:int):AStarNodeReturns the node at the given coords.
Parameters
x:int — The x coord.
| |
y:int — The y coord.
|
AStarNode |
| setEndNode | () | method |
public function setEndNode(x:int, y:int):voidSets the node at the given coords as the end node.
Parameters
x:int — The x coord.
| |
y:int — The y coord.
|
| setStartNode | () | method |
public function setStartNode(x:int, y:int):voidSets the node at the given coords as the start node.
Parameters
x:int — The x coord.
| |
y:int — The y coord.
|
| setWalkable | () | method |
public function setWalkable(x:int, y:int, value:Boolean):voidSets the node at the given coords as walkable or not.
Parameters
x:int — The x coord.
| |
y:int — The y coord.
| |
value:Boolean |