Module ...
Computes a direct line path from start to end
Functions
| _M:calc (sx, sy, tx, ty, use_has_seen) | Compute path from sx/sy to tx/ty | 
| _M:init (map, actor) | Initializes DirectPath for a map and an actor | 
Functions
- _M:calc (sx, sy, tx, ty, use_has_seen)
- 
Compute path from sx/sy to tx/ty
Parameters- sx: the start coord
- sy: the start coord
- tx: the end coord
- ty: the end coord
- use_has_seen: if true the astar wont consider non-has_seen grids
 Return value:either nil if no path or a list of nodes in the form { {x=...,y=...}, {x=...,y=...}, ..., {x=tx,y=ty}}
- _M:init (map, actor)
- 
Initializes DirectPath for a map and an actor
Parameters- map:
- actor: