Method | Description | |
---|---|---|
can_see ( |
||
findPath ( |
||
findPath ( |
||
getTarget ( |
||
intersection ( Point p1, Point p2, Point p3, Point p4 ) : bool | ||
intersection ( Point lineA, Point lineB, Point squareA, int squreSize ) : bool |
public static can_see ( |
||
map | ||
pos | Point | |
facing | int | |
target | Point | |
return | bool |
public static findPath ( |
||
map | ||
pos | Vector2 | |
c | ||
return | Direction |
public static findPath ( |
||
map | ||
pos | Vector2 | |
target | Vector2 | |
return | Direction |
public static getTarget ( |
||
map | ||
pos | Vector2 | |
facing | int | |
return | Vector2 |
public static intersection ( Point p1, Point p2, Point p3, Point p4 ) : bool | ||
p1 | Point | |
p2 | Point | |
p3 | Point | |
p4 | Point | |
return | bool |
public static intersection ( Point lineA, Point lineB, Point squareA, int squreSize ) : bool | ||
lineA | Point | |
lineB | Point | |
squareA | Point | |
squreSize | int | |
return | bool |