| Package | be.dauntless.astar.core |
| Class | public class AstarEvent |
| Inheritance | AstarEvent flash.events.Event |
| Property | Defined By | ||
|---|---|---|---|
| request : PathRequest [read-only]
Returns the request that has been handled
| AstarEvent | ||
| result : AstarPath [read-only]
Returns the path thas has been found
| AstarEvent | ||
| Method | Defined By | ||
|---|---|---|---|
AstarEvent(type:String, path:AstarPath, request:PathRequest, bubbles:Boolean = false, cancelable:Boolean = false)
Creates a new AstarEvent instance. | AstarEvent | ||
clone():Event [override] | AstarEvent | ||
| Constant | Defined By | ||
|---|---|---|---|
| PATH_FOUND : String = pathFound [static]
Indicates that a path has been found
| AstarEvent | ||
| PATH_NOT_FOUND : String = pathNotFound [static]
Indicates that a path couldn't be found
| AstarEvent | ||
| request | property |
request:PathRequest [read-only] Returns the request that has been handled
public function get request():PathRequest| result | property |
result:AstarPath [read-only] Returns the path thas has been found
public function get result():AstarPath| AstarEvent | () | Constructor |
public function AstarEvent(type:String, path:AstarPath, request:PathRequest, bubbles:Boolean = false, cancelable:Boolean = false)Creates a new AstarEvent instance.
Parameterstype:String — The type of event.
| |
path:AstarPath — The path that has been found (if any)
| |
request:PathRequest — The request that has been handled
| |
bubbles:Boolean (default = false) | |
cancelable:Boolean (default = false) |
| clone | () | method |
override public function clone():EventReturnsEvent |
| PATH_FOUND | Constant |
public static const PATH_FOUND:String = pathFoundIndicates that a path has been found
| PATH_NOT_FOUND | Constant |
public static const PATH_NOT_FOUND:String = pathNotFoundIndicates that a path couldn't be found