| Package | com.lookbackon.ds |
| Class | public class AStarNodeBoard |
| Inheritance | AStarNodeBoard Object |
| Implements | IAStar |
See also
| Property | Defined By | ||
|---|---|---|---|
| column : int | AStarNodeBoard | ||
| endNode : AStarNode [read-only] | AStarNodeBoard | ||
| row : int | AStarNodeBoard | ||
| startNode : AStarNode [read-only] | AStarNodeBoard | ||
| Method | Defined By | ||
|---|---|---|---|
AStarNodeBoard(column:int, row:int) | AStarNodeBoard | ||
Returns the node at the given coords. | AStarNodeBoard | ||
setEndNode(x:int, y:int):void
Sets the node at the given coords as the end node. | AStarNodeBoard | ||
setStartNode(x:int, y:int):void
Sets the node at the given coords as the start node. | AStarNodeBoard | ||
setWalkable(x:int, y:int, value:Boolean):void
Sets the node at the given coords as walkable or not. | AStarNodeBoard | ||
toString():String | AStarNodeBoard | ||
| column | property |
column:int public function get column():int public function set column(value:int):void| endNode | property |
| row | property |
row:int public function get row():int public function set row(value:int):void| startNode | property |
| AStarNodeBoard | () | Constructor |
public function AStarNodeBoard(column:int, row:int)column:int | |
row:int |
| 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 |
| toString | () | method |
public function toString():StringReturnsString |